Commit Graph

11 Commits

Author SHA1 Message Date
L. David Baron
3e3eba12f0 Followup to bug 828312 patch 9a: Mark test as fuzzy-if on Android. CLOSED TREE 2013-09-25 17:53:12 -07:00
L. David Baron
93872ab342 Followup to bug 828312 patch 9a: Mark test as fuzzy-if on Mac OS X 10.8, where the Ahem font is behaving in ways it shouldn't. CLOSED TREE 2013-09-25 15:45:24 -07:00
L. David Baron
31df6fcc33 Bug 828312 patch 9a: Make sticky positioning handle block-in-inline splits correctly. r=dholbert
This assumes that the specification for how position:sticky behaves for
block-in-inline splits matches the specification for position:relative,
in other words, matches
http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level .

It's also necessary for patch 9b since the new rule for handling of
style change hints is that a style change hint applies to all
continuations and all block-in-inline siblings ("special siblings").

The change in StickyScrollContainer::GetScrollRanges is really the fix
for bug 918994, but adjusted for the change here to use block-in-inline
siblings ("special siblings") in addition to continuations.
2013-09-25 12:28:08 -07:00
Daniel Holbert
df2805989e Bug 904197 followup: make reftests use Ahem font, to avoid pixel-alignment difference between block vs. inline elements. (test-only)
--HG--
rename : layout/reftests/flexbox/ahem.css => layout/reftests/position-sticky/ahem.css
2013-09-18 08:36:27 -07:00
Corey Ford
3fc43261c7 Bug 904197 - Use the union of continuations' rects in sticky positioning calculations. r=dholbert
Reftest inline-3.html fails because handling the sticky element's margin correctly will take more work; similarly, border/padding on containing-block continuations won't be handled quite right. Reftest column-contain-1a fails because some of the anonymous blocks inside an nsColumnSetFrame have 0 height.
2013-09-13 16:53:48 -07:00
Daniel Holbert
98112bb9c1 Bug 897105 followup: increase fuzz for reftest stacking-context-1.html a bit more. DONTBUILD
landing on CLOSED TREE w/ RyanVM's permission
2013-09-13 10:31:02 -07:00
Corey Ford
9f2ee21577 Bug 897105 - Part 4: Build display items and layers for sticky positioned elements. r=roc 2013-09-12 18:56:57 -07:00
Daniel Holbert
0b4a71668a Bug 914078, attempt 2: Increase Android-only max-fuzzy-difference from 5 to 6, for "position-sticky/top-3.html" reftest. r=corey 2013-09-12 09:50:25 -07:00
Daniel Holbert
28c17a2b26 Bug 914078: Increase Android-only max-fuzzy-difference from 4 to 5, for recently-added "position-sticky/top-3.html" reftest. r=corey 2013-09-09 10:20:16 -07:00
Daniel Holbert
6848bb95a1 (no bug) Broaden fuzzy-if() annotation slightly, for reftest position-sticky/top-2.html. r=corey 2013-09-06 13:59:58 -07:00
Corey Ford
7bb7eca6a1 Bug 886646 - Part 7: Reftests for sticky positioning. r=dbaron 2013-09-06 09:35:16 -04:00