Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Make the box-model layout-view work with ios #89

Merged
merged 1 commit into from
Oct 30, 2014

Conversation

captainbrosset
Copy link
Contributor

On firefox, we're using getBoundingClientRect + computed style to determine the width/height + margin/padding/border.

On chrome, we're using the DOM.getBoxModel command and then transform the returned quads in something that our layout-view can understand.

On ios, this command doesn't exist, so instead, we fall back to doing the same as on firefox:

@campd
Copy link
Contributor

campd commented Oct 29, 2014

r+

@captainbrosset
Copy link
Contributor Author

Rebased this PR. Merging now.

captainbrosset added a commit that referenced this pull request Oct 30, 2014
Make the box-model layout-view work with ios
@captainbrosset captainbrosset merged commit 10aa923 into mozilla:master Oct 30, 2014
@captainbrosset captainbrosset deleted the ios-box-model branch October 30, 2014 08:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants