Robert O'Callahan
d0dd680745
Bug 733607. Restructure logic to compute snapped bounds of display items in layer coordinates. Moves responsibility for computing snapped bounds from within the display items to callers of GetBounds/GetOpaqueRegion. r=tnikkel
...
Previously we snapped the results of nsDisplayItem::GetBounds and
nsDisplayItem::GetOpaqueRegion internally. By tracking which display items were
inside transforms, we disabled snapping quite conservatively whenever an ancestor
had a transform, which is undesirable.
With this patch, we don't snap inside GetBounds or GetOpaqueRegion, but just return
a boolean flag indicating whether the item will draw with snapping or not. This flag
is conservative so that "true" means we will snap (if the graphics context has a transform
that allows snapping), but "false" means we might or might not snap (so it's always safe
to return false).
FrameLayerBuilder takes over responsibility for snapping item bounds. When it converts
display item bounds to layer pixel coordinates, it checks the snap flag returned from
the display item and checks whether the transform when we draw into the layer will be
a known scale (the ContainerParameters scale factors) plus integer translation. If both
are true, we snap the item bounds when converting to layer pixel coordinates. With
this approach, we can snap item bounds even when the items have ancestors with active
transforms.
2012-04-10 23:24:18 +12:00
Kyle Huey
50f43dd111
Back out Bug 679230 due to Android reftest failures.
2012-04-07 10:36:49 -07:00
Kyle Huey
76887dde56
Bug 697230: Part 3 - Make style images block onload. r=bz
2012-04-07 09:00:27 -07:00
Boris Zbarsky
4beec41490
Bug 731521. Computed border on our descendants can change due to a change of our specified border styles even if our computed border did not change. r=dbaron
2012-04-05 13:14:54 -04:00
Mats Palmgren
8948c2c199
Bug 724352 - Don't add vertical margin to scrollable overflow here, it's already done during reflow and we don't need it for UpdateOverflow yet (and we need to account for margin-collapsing when we do). r=roc
2012-04-05 16:30:21 +02:00
Frédéric Wang
08be38e750
Bug 572899 - Reftest mathml/semantics-1.xhtml fails with STIX 1.0.0. r=karlt
2012-04-03 20:08:27 -04:00
Jonathan Kew
895e7a44ae
bug 740477 - reftest for Dutch capitalization behavior. r=smontagu
2012-03-30 17:37:55 -07:00
Robert Longson
358e65285c
Bug 739591 - Implement filter xlink:href support. r=roc
2012-03-28 12:31:47 +01:00
Jonathan Kew
96ea9fac17
bug 231162 - reftests for Turkish casing behavior. r=smontagu
2012-03-27 08:49:50 -07:00
Jeff Muizelaar
c3f1fc2e7a
Bug 738919. Add reftest for a canvas dash array with a single element. r=mwoodrow.
...
--HG--
extra : rebase_source : 06afe9bc1401f53a6e6929a5063fd4af3da699cc
2012-03-27 12:00:34 -04:00
Ehsan Akhgari
833302e22f
Bug 737889 - Make sure that clearing the readonly attribute does not disable spell checking; r=roc
2012-03-23 11:35:40 -04:00
Simon Montagu
5553dcb958
Tests for bug 730562, r=roc
2012-03-21 16:50:45 -07:00
Simon Montagu
672b8f3ab5
Reftest for bug 726460, r=roc
2012-03-21 16:50:29 -07:00
Aryeh Gregor
68e33b8d45
Bug 734953 - Remove skew() transformation function; r=dbaron
2012-03-20 13:39:57 -04:00
Robert O'Callahan
6043980c79
Bug 723484. Fix alpha values for image layers with opacity. r=bas
2012-03-20 20:55:40 +13:00
Daniel Holbert
b7b65ae384
backout 1383ac50bcff (bug 723484) for remote image & occasional 'load failed: null' in reftest reference case
2012-03-20 10:22:53 -07:00
Jonathan Watt
4ef8b576ac
Bug 734079, part 1 - Remove the SuspendRedraw code and make SVGSVGElement.suspendRedraw a no-op. r=longsonr.
2012-03-20 12:15:53 +00:00
Robert O'Callahan
68c600d6f9
Bug 735141. Clear imageContainer to indicate that we're not using that optimization. r=tnikkel
2012-03-19 20:26:39 +13:00
Robert O'Callahan
6b10b198ee
Bug 723484. Fix alpha values for image layers with opacity. r=bas
2012-03-20 20:55:40 +13:00
Aharon (Vladimir) Lanin
0c126e1db1
Tests for bug 712600. r=smontagu
2012-01-08 16:29:19 +02:00
Boris Zbarsky
746cfc7b8c
Bug 721659. Update the width/height of an image synchronously when src is set to something that was preloaded. r=bholley
2012-03-19 18:22:02 -04:00
Ehsan Akhgari
5f3425b10d
Bug 734530 - Spell check textareas if they're reframed when focused; r=roc
...
--HG--
rename : layout/reftests/editor/spellcheck-textarea-focused.html => layout/reftests/editor/spellcheck-textarea-focused-reframe.html
2012-03-19 12:21:56 -04:00
Masatoshi Kimura
add7512617
Bug 736687 - Warn on use of MozBlobBuilder. r=sicking
...
--HG--
rename : layout/reftests/svg/as-image/img-blobBuilder-1.html => layout/reftests/svg/as-image/img-blobURI-1.html
rename : layout/reftests/svg/as-image/img-blobBuilder-2.html => layout/reftests/svg/as-image/img-blobURI-2.html
2012-03-19 12:00:43 +01:00
Robert O'Callahan
68a3a38d5b
Backed out changeset 0fe31dd7bbc5
2012-03-19 23:19:59 +13:00
Robert O'Callahan
8a4aad25f2
Bug 735141. Clear imageContainer to indicate that we're not using that optimization. r=tnikkel
2012-03-19 20:26:39 +13:00
Jonathan Kew
91d10e3419
bug 736726 - mark reftest bidi-003 as failing on android for now. no_r=me
2012-03-17 13:07:08 +00:00
Boris Zbarsky
e78e12371e
Bug 735579. Correctly handle changes to column widths in fixed-layout tables. r=ehsan
2012-03-16 15:56:41 -04:00
John Daggett
53f1d396f8
Bug 512566. Font data url reftests. r=jfkthame
2012-03-16 12:31:01 +09:00
Bas Schouten
d801bd5d13
Bug 712630: Adjust several reftests passing criteria. r=joedrew
2012-03-15 20:27:19 +00:00
Jonathan Kew
68cac941b5
bug 731536 - followup, add a reftest for Deseret text capitalization with punctuation marks. r=smontagu
2012-03-15 09:11:49 +00:00
Jonathan Kew
fb3c20721f
bug 731536 - reftest for text-transform:capitalize with punctuation marks. r=smontagu
2012-03-14 06:47:36 +00:00
Jonathan Kew
67782abd95
bug 731536 - text-transform:capitalize should affect the first alphanumeric char in a word, not the first non-punctuation char. r=smontagu
2012-03-14 06:47:14 +00:00
Jonathan Kew
2a175b1c96
bug 605021 - handle surrogates in text-run transformations. r=smontagu
2012-03-14 06:45:11 +00:00
Boris Zbarsky
e29a0d7722
Bug 735481. Skip ancestor filtering on IDs and classes in quirks mode, because that matching needs to be case-insensitive. r=dbaron
2012-03-14 00:44:13 -05:00
Jonathan Kew
bf1bbed990
bug 726539 - reftests for repeated feature in -moz-font-feature-settings. r=jdaggett
2012-03-13 10:22:16 +00:00
Matt Woodrow
f0d02037a5
Bug 730166 - Mark frames with a hidden backface as transformed. r=roc
2012-03-12 15:03:29 +13:00
Daniel Holbert
7772f86486
Bug 733875: If you're a nsFrame inside a box, be sure to reflow your absolute children after box layout gives you your size. r=bz
2012-03-10 14:50:51 -08:00
Daniel Holbert
204ed71c30
Bug 640443: Allow positioned display:-moz-box elements to be containers for absolutely-positioned content. r=bz
2012-03-10 14:49:10 -08:00
John Daggett
23e024f6f4
Bug 734313. Disabling reftests failing on OSX 10.5
2012-03-09 14:02:11 +09:00
Rob Campbell
b13d39e0b9
merge fx-team to m-c
2012-03-08 10:30:11 -04:00
Tim Taubert
71e4bec105
Bug 731726 - Moving the parentNode of a focused DOM node does not remove the node's focus ring; r=Enn
2012-03-05 20:59:50 +01:00
Brian Birtles
3fcc17a22d
Bug 608161 - Don't rely on HasAttr to detect whether gradient attributes have values; r=longsonr
2012-03-06 15:58:40 +09:00
Robert Longson
614603a7a2
Bug 730658 - use element does not display properly when animated with set. r=dholbert
2012-03-03 09:21:09 +00:00
Daniel Holbert
9dacc7eaba
Bug 547801: mark reftest 'sort-additive-1.svg' as random on Android, for now. rs=jwatt
2012-03-02 13:37:47 -08:00
Matt Woodrow
fd91c7e2e4
Bug 547801 - Fix sort-additive-1 test to use MozReftestInvalidate. r=dholbert
2012-03-01 21:26:09 +13:00
Robert Longson
9fb4283085
Backout Bug 730658 - reftest failure possibly intermittent but certainly new
2012-02-28 16:04:57 +00:00
Robert Longson
d9f9fced62
Bug 730658 - use element does not display properly when animated with set. r=dholbert
2012-02-28 14:54:33 +00:00
François Wang
6049fbc6ef
Bug 722880 - reftests for attribute width on mtable. r=karlt
2012-02-27 18:57:28 -05:00
Simon Montagu
848b814678
Reftest for bug 729047, r=ehsan
2012-02-25 23:12:55 -08:00
Aryeh Gregor
567854dcfc
Bug 724614 - 3D scaling makes text blurry. r=mattw
...
--HG--
rename : layout/reftests/transform-3d/preserve3d-1a.html => layout/reftests/transform-3d/preserve3d-5a.html
rename : layout/reftests/transform-3d/scale3d-2-ref.html => layout/reftests/transform-3d/scale3d-all-separate.html
2012-02-23 13:03:27 -05:00