Commit Graph

20681 Commits

Author SHA1 Message Date
Daniel Holbert
475a6b34d6 Bug 989436 part 2: Clone existing baseline-alignment reftest, with "flex-flow: wrap-reverse", to make sure baseline-alignment works with bottom-to-top cross axis. r=mats
--HG--
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-baseline-horiz-1.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-baseline-horiz-1a.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-baseline-horiz-1.xhtml => layout/reftests/w3c-css/submitted/flexbox/flexbox-align-self-baseline-horiz-1b.xhtml
2014-03-29 01:20:56 -07:00
Daniel Holbert
01fc94bf60 Bug 989436 part 1: Add a reftest to exercise all "flex-flow" values, with extra space left over on the final flex line. r=mats
--HG--
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-flex-flow-1-ref.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-flex-flow-2-ref.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-flex-flow-1.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-flex-flow-2.html
2014-03-29 01:20:51 -07:00
Boris Zbarsky
d4a40b2bea Bug 987112. Remove the redundant and somewhat annoying parentObject argument to dictionary ToObject() methods. r=bholley 2014-03-29 01:45:10 -04:00
Timothy Nikkel
0d8a4719cb Bug 989574. Enable reftests in layout/reftests/invalidation on all platforms. r=dbaron
A mistake caused them to never be enabled (except on b2g).
2014-03-28 23:54:37 -05:00
L. David Baron
8370cffabb Bug 986807 patch 3 - Use preprocessor to avoid duplicating reftest default preference lists. r=ted
Note that the reordering in Makefile.in is because the addition to
PP_TARGETS must be before including rules.mk.  (Logically, I was moving
_DEST_DIR, _HARNESS_FILES, and the _HARNESS_PP_FILES chunk up, but diff
shows it the other way around.)
2014-03-28 20:13:25 -07:00
Timothy Nikkel
1172e26981 Bug 961431. Round the final screen position of the popup to pixels, not the offset between it's view and parent view. r=enndeakin 2014-03-28 20:00:27 -05:00
Bill McCloskey
0b931a15f5 Bug 986653 - Add --e10s option to reftests (r=ted) 2014-03-18 16:31:28 -07:00
Bill McCloskey
a8420df067 Bug 986691 - [e10s] Disable some layout tests (r=roc) 2014-03-28 11:25:11 -07:00
Kartikaya Gupta
31afc0a194 Bug 948377 - Remove unwanted rounding in CalculateCompositedRectInCssPixels; add a CalculateCompositedSizeInCssPixels also. r=botond 2014-03-28 10:36:47 -04:00
Kartikaya Gupta
ced251bb3e Bug 980679 - Filter redundant scroll offset updates by scroll generation value. r=botond,tn 2014-03-28 08:21:19 -04:00
Neil Rashbrook
041b6d4b17 Bug 514280 Consistently declare and define IID accessors r=bsmedberg 2014-03-28 08:45:02 +00:00
Ehsan Akhgari
5b9f45a1a5 Bug 798158 - Part 1: Use a pointer-sized type to store refcounts internally; r=bsmedberg 2014-03-27 16:38:33 -04:00
Ms2ger
794257a824 Bug 984006 - Remove xpcom/ds from local includes; r=ehsan 2014-03-27 21:05:14 +01:00
Max Vujovic
1fca4f6f86 Bug 948265 - Rename intermediate space to filter space and change filter space origin to user space origin. r=mstange, r=longsonr 2014-03-26 16:21:48 -07:00
Simon Sapin
be63f95a8a Bug 983175 - Part 2: Add style system support for 'subgrid' in the grid-template* properties. r=dholbert
http://dev.w3.org/csswg/css-grid/#subgrids
2014-03-27 11:54:40 -04:00
Simon Sapin
92a6d809c4 Bug 983175 - Part 1: Refactor ParseGridLineNames (CSS Grid). r=dholbert
Return a CSSParseResult rather than a bool to distinguish between
an empty list of names '()' and the lack of a list.
2014-03-27 11:54:40 -04:00
Simon Sapin
f31e04d8a9 Bug 983175 - Part 0: Rename nsParsingStatus to CSSParseResult. r=dbaron 2014-03-27 11:54:40 -04:00
Ryan VanderMeulen
6ed136c703 Bug 919482 - Replace mozilla-banner.gif with a plain blue image in 163504-1*.html since we aren't trying to test individual pixel differences in resized image painting there. r=tn 2014-03-27 11:02:27 -04:00
Ryan VanderMeulen
68197cb818 Bug 909305 - Replace mozilla-banner.gif with a plain blue image in 163504-2*.html since we aren't trying to test individual pixel differences in resized image painting there. r=tn 2014-03-27 11:02:26 -04:00
Timothy Nikkel
baa995fcb1 Bug 957668. Protect against a null frame. r=nullcheck CLOSED TREE 2014-03-26 23:20:23 -05:00
Timothy Nikkel
74780cdea5 Bug 957668. Add comment based on review comment. DONTBUILD 2014-03-26 21:23:14 -05:00
Timothy Nikkel
b33e833306 Bug 957668. Set the display port base rect in several places. r=roc 2014-03-26 21:46:24 -04:00
Timothy Nikkel
fa43bca11d Bug 957668. Add and implement plumbing for a display port margins api. r=kats 2014-03-26 21:46:23 -04:00
Timothy Nikkel
be787d8185 Bug 957668. Factor out a few helper functions. r=roc 2014-03-26 21:46:23 -04:00
Timothy Nikkel
d536014142 Bug 986413. Limit composition bounds used for display port calculation to root composition bounds. r=kats 2014-03-26 19:24:25 -04:00
Ryan VanderMeulen
45b79f6841 Bug 980247 - Fix silly rebase error. r=fail 2014-03-26 15:38:08 -04:00
L. David Baron
dbf45497a8 Bug 989560 patch 4 - Remove most uses of CheckEndProperty()/ExpectEndProperty(). r=heycam 2014-04-01 11:53:32 -07:00
L. David Baron
b0693d58f1 Bug 989560 patch 3 - Add one more ExpectEndProperty() call that is needed for variables. r=heycam
This adds a check that is currently present in most but not all
codepaths leading to this point, but which patch 4 will remove from many
of those codepaths.
2014-04-01 11:53:32 -07:00
L. David Baron
e176d7070c Bug 989560 patch 2 - Don't accept an empty value for font-variant-alternates. r=heycam
Had patch 3 not been present, this would be needed to prevent a test
failure with patch 4 (which removes the ExpectEndProperty check from the
CSS_PROPERTY_PARSE_VALUE case in
CSSParserImpl::ParseProperty(nsCSSProperty) since its callers handle
checking for appropriate endings), since the way this function returns
success for empty values leads var() functions alone inside
font-variant-alternates to be rejected, since
CSSParserImpl::ParseProperty(nsCSSProperty) won't try reparsing with
variables.
2014-04-01 11:53:32 -07:00
L. David Baron
38512d8749 Bug 989560 patch 1 - Make it an error to have an empty item within an animation or transition shorthand. r=heycam
This is needed to make the test in the next patch (which tests that we
reject entirely-empty properties) pass.
2014-04-01 11:53:31 -07:00
L. David Baron
e19068ec03 Bug 988702 patch 3 - Fix missing UngetToken() calls in ParseCounterData(), and avoid evil CheckEndProperty() calls while I'm there. r=heycam
I tested that test_property_syntax_errors.html gives a failure on the
new test without the patch, and that the failure is not present with the
patch.
2014-04-01 11:53:31 -07:00
L. David Baron
c0359feda4 Bug 988702 patch 2 - Test invalid CSS property values for their balanced-ness of () [] or {}. r=heycam
(This provides an easy mechanism for testing for missing UngetToken()
calls as in the following patch.)
2014-04-01 11:53:31 -07:00
L. David Baron
b893b00a6e Bug 988702 patch 1 - Remove duplication between invalidGradientAndElementValues and the list of invalid values in background-image. r=heycam
Values that are already in invalidGradientAndElementValues don't also
need to be listed in an array that has invalidGradientAndElementValues
appended to it.
2014-04-01 11:53:31 -07:00
L. David Baron
fb87b5d58d Bug 989688 patch 6 - Run the reftests in toolkit/content/tests/reftests/. r=enndeakin
This should have been added in
https://hg.mozilla.org/mozilla-central/rev/0c2c2c895e5d (bug 442419) or
perhaps also in bug 841001 when another test was added to this
directory.
2014-04-01 11:53:31 -07:00
L. David Baron
f6c21bbe4c Bug 989688 patch 5 - Run the reftests in layout/reftests/view-source/. r=roc
This should have been added in
https://hg.mozilla.org/mozilla-central/rev/745c0c2aa1fe (bug 464339).

Furthermore, the image being missing was the result of using
checkin-needed on a non-GIT-style diff "containing" an image.

--HG--
rename : layout/reftests/view-source/reftests.list => layout/reftests/view-source/reftest.list
2014-04-01 11:53:31 -07:00
L. David Baron
acf26ae003 Bug 989688 patch 4 - Only include the reftests in layout/reftests/css-valid/output/ once. r=jwatt
All three lines were added in
https://hg.mozilla.org/mozilla-central/rev/2eb1331a2bc4
2014-04-01 11:53:30 -07:00
L. David Baron
d884d5a7a9 Bug 989688 patch 3 - Run the reftests in layout/reftests/css-invalid/form/. r=jwatt
This should have been added in
https://hg.mozilla.org/mozilla-central/rev/7fa9d642fe74 (bug 596515).

jhk, do you still happen to have a copy of the missing
form-dynamic-not-invalid-barred.html file?
2014-04-01 11:53:30 -07:00
L. David Baron
fa8bed45f2 Bug 989688 patch 2 - Run the reftests in layout/reftests/async-scrolling/. r=roc
This should have been added in
https://hg.mozilla.org/mozilla-central/rev/a888be20e9d7 (bug 975931).
2014-04-01 11:53:30 -07:00
L. David Baron
b5ce9364b5 Bug 989688 patch 1 - Only include the webcomponents reftest.list once. r=wchen
These duplicate lines were added in two changesets with only one
changeset between them:
https://hg.mozilla.org/mozilla-central/rev/08afb5a033eb
https://hg.mozilla.org/mozilla-central/rev/79b61f9909c0
2014-04-01 11:53:30 -07:00
L. David Baron
9f46dba629 Bug 989574 patch 2 - Fix comment to match code. 2014-04-01 11:53:30 -07:00
L. David Baron
4dcfa2d418 Bug 989130 - Back out changeset fe119a83b1f2 (bug 942017) while leaving the corresponding test from changeset 3c63decb4e7e. r=jfkthame
This should be backed out for two reasons:

 (1) It caused a serious regression with bullets from list-style-image,
     which no longer affect the line box height and thus overlap.

 (2) The dependency on 'line-height: normal' doesn't make sense; there's
     no reason for whether line-height is 'normal' or not to affect the
     behavior of bullets.

I don't currently have time to figure out why Gecko behavior differs
from other browsers on bug 942017, but that should be re-analyzed and
the bug fixed in a different way.  At first glance, the code should
already be leading to the expected behavior, since the bullet ought to
have the same metrics and alignment as the block's influence on the line
box's height.  Why this isn't the case should be investigated.
2014-04-01 11:53:29 -07:00
Abel Lin
5f770c74f2 Bug 980247 - Add a reftest for different continuations of a sticky element having the same offsets. r=dbaron 2014-03-26 14:46:47 -04:00
Abel Lin
2e194419b6 Bug 980247 - Use offsets from GetNormalPosition() when updating continuations of position:sticky elements instead of assuming that they're all currently offset by the same amount. r=dbaron, r=corey 2014-03-26 14:45:17 -04:00
Boris Zbarsky
d316554447 Bug 610733. Vertically center the text in the combobox display area when a non-default height is set for the combobox. r=dbaron 2014-03-25 22:48:46 -04:00
Brian Birtles
8039fdb1db Bug 986367 - Make paint_listener.js check for paint suppression; r=mattwoodrow
This patch adds an extra check for paint suppression when waiting for paint
events. This is because on some platforms (notably B2G) we can think all paints
have completed because paint suppression is in effect and as a result call the
callback too soon.

This patch use window.setTimeout(..., 0) to wait for paint suppression to finish
before preceding to check for pending paint events.

When the refresh driver is under test control, if we detect that paint events
are pending we need to force a refresh driver tick. This patch adds that tick.
I suppose we had previously never hit this situation before and never noticed
this.

This patch also rearranges the main loop so that early returns appear first and
calling the callback appears at the end.
2014-03-26 09:20:07 +09:00
Jeff Muizelaar
c537c6911f Bug 980186. Tell automation.environment about the debugger. r=jgriffin
This lets it set the crash reporting envs properly.

--HG--
rename : layout/reftests/abs-pos/table-internal-5-ref.html => layout/reftests/abs-pos/table-internal-1-ref.html
rename : layout/reftests/abs-pos/table-internal-6-ref.html => layout/reftests/abs-pos/table-internal-3-ref.html
rename : layout/reftests/abs-pos/table-internal-7-ref.html => layout/reftests/abs-pos/table-internal-4-ref.html
rename : webapprt/test/chrome/mozpay-failure.html => webapprt/test/chrome/mozpay-success.html
extra : rebase_source : 903979ef854d1c1737ed4b2eb21be26b2bcb7017
2014-03-07 15:38:48 -05:00
Jonathan Griffin
2c813577a2 Bug 979650 - Always build with Marionette for Firefox, b2g desktop, r=ted 2014-03-11 13:22:34 -07:00
Bobby Holley
b43cea4e4c Bug 987672 - Use a more reliable Function constructor and |bind| implementation for marquee event handler compilation. r=bz 2014-03-25 12:36:39 -03:00
Birunthan Mohanathas
cbaedea4c8 Bug 987320 - Remove unnecessary null checks for do_QueryFrame arguments. r=bz 2014-03-25 11:36:49 -04:00
Nicolas E. Bordenabe
dad7f1a2e1 Bug 973345 - Include gradient values in the return value of getCSSValuesForProperty() for properties that can have an <image> value specified. r=bz 2014-03-25 11:36:48 -04:00
Carsten "Tomcat" Book
320085d84f Backed out changeset b6c3d52bf61e (bug 791480) for breaking B2G ICS Emulator Reftest - 8 2014-03-25 14:36:48 +01:00
Carsten "Tomcat" Book
9b3b0bf998 Backed out changeset 259991514082 (bug 791480) 2014-03-25 14:36:16 +01:00
Kartikaya Gupta
cf49cef008 Bug 984548 - Ifdef APZ overflow:hidden behaviour so it doesn't regress Fennec pending a proper fix. r=tn 2014-03-25 09:25:56 -04:00
Gorman Ho
9f11aa16d4 Bug 983285 - Add a generic destructor for property values allocated with new. r=kats, r=bz 2014-03-25 09:25:47 -04:00
Jonathan Kew
2f3b9d4ea4 bug 827779 - reftest for modified hyphen-break rules. r=masayuki 2014-03-25 09:29:18 +00:00
Robert O'Callahan
2e0b90145f Bug 791480. Reenable test on Windows 7. r=dbaron 2014-03-25 22:15:49 +13:00
Robert O'Callahan
6572f73215 Bug 791480. Make reftests enter print mode before reftest-wait is removed, so canvas-print-callback tests can finish drawing before the test ends. r=dbaron
--HG--
extra : rebase_source : c545bfbfd4a449c4e880052da0e1e046e37eaf83
2014-03-25 22:11:27 +13:00
Jonathan Watt
5ee03c48f8 Bug 959128 - Fix transforms of clipPath content for clipPath being used within SVG-in-OpenType glyph. r=heycam 2014-03-25 08:51:10 +00:00
Matt Woodrow
e47a33ad71 Bug 976365 - Make 'perspective' create a containing block for absolute and fixed positioned children. r=dbaron 2014-03-25 11:45:43 +13:00
Ryan VanderMeulen
d94a9326e0 Bug 948389 - Replace mozilla-banner.gif with a plain blue image in 405577-1.html since we aren't trying to test individual pixel differences in resized image painting there. r=roc 2014-03-24 17:44:01 -04:00
Simon Montagu
37ef931035 Aways use the root span's writing mode when recursing into child spans in nsLineLayout::ApplyFrameJustification. Bug 986899, r=jfkthame 2014-03-24 10:50:13 -07:00
Simon Sapin
b0fe5fc3db Bug 984728 - Refactor grid-auto-flow parsing to use ParseBitmaskValues; r=dholbert 2014-03-24 14:26:04 +01:00
James Kitchener
215800e0fb Bug 986799 - Handle rtl mtable padding properly. r=fredw 2014-03-24 08:58:29 -04:00
Simon Montagu
0c95e23cef Correction to typo in checkin for bug 789096. Bug 983691, r=jfkthame 2014-03-24 02:23:12 -07:00
L. David Baron
efcfd8dd09 Bug 986807 patch 2 - Sync APZC/viewport prefs from bug 975931 from desktop reftest code to Android/B2G reftest code. r=roc 2014-03-23 18:44:50 -07:00
L. David Baron
652cd8f35e Bug 986807 patch 1 - Sync lower-risk prefs over from desktop reftest code to Android reftest code. r=roc 2014-03-23 18:44:50 -07:00
L. David Baron
7715383653 Bug 986409 - Skip fewer entire reftest directories on B2G. r=roc 2014-03-23 18:44:50 -07:00
L. David Baron
df46dbec81 Bug 986406 - Don't skip entire reftest directories on Android. r=roc 2014-03-23 18:44:49 -07:00
L. David Baron
af2c20f808 Bug 986404 - Mark test as failing due to scrollbars showing up. 2014-03-22 22:07:15 -07:00
L. David Baron
b2be53af0b Bug 986404: Disable fade-out of overlay scrollbars during reftest. r=mstange 2014-03-22 21:55:04 -07:00
Boris Zbarsky
9486277bbe Bug 955860 followup to add a pointer to the source of the tests. 2014-03-21 23:07:12 -04:00
Simon Sapin
b5944e6405 Bug 984760 part 2: Use GridTemplateAreasValue though nsRefPtr pointers. r=dholbert 2014-03-21 23:06:16 +08:00
Simon Sapin
ef6efacf40 Bug 984760 part 1: Rename nsCSSValueGridTemplateAreas to css::GridTemplateAreasValue. r=dholbert 2014-03-21 23:06:13 +08:00
Simon Sapin
3f4edec9c7 Bug 981752 part 3: Add the grid shorthand. r=dholbert 2014-03-21 23:06:12 +08:00
Simon Sapin
66ccfed234 Bug 981752 part 2c: Add the grid-template shorthand. r=dholbert 2014-03-21 23:06:12 +08:00
Simon Sapin
e8764835fa Bug 981752 part 2b: Refactor grid-template-{columns,rows} parsing, preparing for the grid-template shorthand. r=dholbert
... and a bit of grid-auto-flow, for the grid shorthand.

* Avoid using CheckEndProperty() when possible
* Distinguish between "error" and "not a <track-size>"
* Split out parsing of a <track-list>, given its initial [<line-names>?]
2014-03-21 23:06:12 +08:00
Simon Sapin
d2b6314b7e Bug 981752 part 1: Add the grid-column, grid-row and grid-area shorthands. r=dholbert 2014-03-21 23:06:12 +08:00
Jonathan Watt
8f55e803ea Bug 985470 - Replace the Moz2D Matrix().Translate() calls with Matrix::Translation() for better perf. r=mattwoodrow
--HG--
extra : rebase_source : 7181564bdaa57a970a256e9676857a7195874631
2014-03-22 07:56:11 +08:00
Brian Birtles
43c74c805e Bug 981508 - Fix comment in nsDisplayTransform::ShouldPrerenderTransformedContent; r=roc 2014-03-22 05:59:58 +08:00
Brian Birtles
07bc4e1535 Bug 975261 part 5 - Fix OMTA animations with backwards fill; r=dzbarsky
When we have a backwards fill and we sample at *exactly* the start of the
animation on the next refresh driver tick, when we get to
RestyleManager::ComputeStyleChangeFor (or more specifically
ElementRestyler::CaptureChange) we notice that the style hasn't changed (since
the first frame of the animation produces the same value as the backwards fill)
and end up with an empty change list. As a result we never schedule a view
manager flush and rebuild the layer. Hence, the animation never gets sent to the
compositor thread. On the next tick we're already throttling the main thread.

This patch fixes this by applying the same approach as is used for transitions,
that is, explicitly marking which animations are running on the compositor
thread so we know if we need to trigger a layer transaction or not. This should
not only be more robust than the previous code but also facilitate aligning
animations and transitions code (bug 880596).
2014-03-22 05:59:58 +08:00
Brian Birtles
a47c4d434e Bug 975261 part 4 - Add test for starting OMTA animations with backwards fill; r=dzbarsky
This test reproduces a bug where we don't send an animation to the compositor
thread. The important step is the sample precisely at the start of the animation
interval.
2014-03-22 05:59:58 +08:00
Brian Birtles
bea9d5001b Bug 975261 part 3 - Add test for transforms; r=dzbarsky
Adds a test for transform animations with a delay where there is already
a transform specified on the element.

This test used to fail but bug 828173 fixed it. It is included here as
a regression test.

(Prior to bug 828173 we were able to fix this by triggering
ForceLayerRerendering inside nsAnimationManager::nsFlushAnimations whenever we
detected *different* style rules but canThrottleTick=true)

The issue stemmed from the fact that when an element has a transform property,
LayerIsPrerenderedDataKey would get set on the layer because in
nsDisplayTransform::ShouldPrerenderTransformedContent we would only check for
the *presence* of an animation, not whether it is running. Then in
RestyleManager::DoApplyRenderingChangeToTree we wouldn't do an invalidating
paint because TryUpdateTransformOnly() returns true since it looks at
LayerIsPrerenderedDataKey.

Bug 828173 fixes this, at least in part, by checking if an animation is running.
This bug may resurface if we put animations with a delay on the compositor
thread hence it is worth including here.
2014-03-22 05:59:57 +08:00
Brian Birtles
d0333ac00a Bug 975261 part 2 - Trigger animations with a delay; r=dzbarsky
Animations with a delay are not put on the compositor thread until the end of
the delay phase. However, there is currently nothing that explicitly triggers
this transaction. It may occur due to flushes that arise from UI events but it
is not guaranteed.

This patch detects the end of a delay phase and turns off throttling for that
sample. It re-uses the mLastNotification member which is not ideal but
a subsequent patch in this queue removes this and replaces it with the approach
used for transitions.
2014-03-22 05:59:57 +08:00
Brian Birtles
612ce80109 Bug 975261 part 1 - Add test for OMTA animations that start with a delay; r=dzbarsky 2014-03-22 05:59:57 +08:00
Chadd Williams
1035df8afc Bug 980493 - Transition FrameMetrics::mScrollId to use a getter/setter. r=botond
--HG--
extra : histedit_source : 1c84496d4b61f019e6e6cc24591ee3a10434e4cc
2014-03-21 17:48:08 -04:00
Alessio Placitelli
651681f247 Bug 950076 - Use the return value of GetNodeTextContent for OOM checks. r=jst 2014-03-20 20:51:16 +01:00
James Kitchener
f09f97acc4 Bug 518592 - Fix single char <mi> frame type and add a test for dotless i. r=karlt 2014-03-21 08:49:51 -04:00
Edwin Flores
a6d5ef3904 Bug 941298 - FFmpeg PlatformDecoderModule for Linux r=doublec,cpearce 2014-03-21 19:35:15 +13:00
Masatoshi Kimura
6ddc1da58c Bug 980307 - Remove DataContainerEvent dependency from accessibility. r=tbsaunde 2014-03-21 12:59:59 +09:00
Srirakshith Betageri
209a660012 Bug 955860. Implement the CSS.escape API for escaping CSS identifiers from script. r=bzbarsky 2014-03-20 23:19:43 -04:00
Robert O'Callahan
9b6f683504 Bug 918189. Part 2: Add tests for convertPoint/Rect/QuadFromNode. r=mats
--HG--
extra : rebase_source : e50c41da1a3cfc66f37e540b26fb8c9353ab5321
2013-09-20 22:22:11 +12:00
Robert O'Callahan
d30f7006c6 Bug 918189. Part 1.5: Implement GeometryUtils.convertPointFromNode, convertRectFromNode, and convertQuadFromNode. r=jst
--HG--
extra : rebase_source : 2d01b350d84f220add776341a9cbcda5ace2ef01
2014-03-12 09:11:39 +08:00
Robert O'Callahan
84770e7b2f Bug 918189. Part 1: Implement GeometryUtils ConvertQuad/Rect/PointFromNode. r=mats
--HG--
extra : rebase_source : deade5e87ae77b3fe9efdfde9ba2f3254318f387
2014-03-12 09:11:38 +08:00
Robert O'Callahan
04501d7edd Bug 917755. Part 6: Add tests for getBoxQuads. r=matspal
--HG--
extra : rebase_source : 2e49345a3035cdbe5e4d2ee7573f3c30da38da6a
2013-09-20 22:21:42 +12:00
Robert O'Callahan
2a7e21114d Bug 917755. Part 5: Implement GeometryUtils GetBoxQuads. r=matspal
--HG--
extra : rebase_source : 6997773605684ad96e29b22fc10069d31385e63b
2014-03-12 09:11:38 +08:00
Robert O'Callahan
242ffba63c Bug 917755. Part 1: Add nsLayoutUtils::TransformCSSPoints and nsLayoutUtils::GetFirstNonAnonymousFrame. r=matspal
--HG--
extra : rebase_source : 06e2c83a984d12fce29cd23b93dde54a2e05cf43
2013-09-20 22:21:03 +12:00
Daniel Holbert
1a5334960a Bug 984786 part 1: Add MOZ_FINAL and private destructors to some refcounted classes in layout. r=dbaron 2014-03-21 09:16:20 +08:00
Timothy Nikkel
823df74309 Bug 874950. Fix variable name to fix the build. on a CLOSED TREE 2014-03-20 18:46:30 -05:00
Timothy Nikkel
6eb349ee89 Bug 874950. Don't let fixed position conclude occlude async scrolled content. r=roc
It would be incorrect to occlude async scrolled content.

Instead of doing a lot of extra frame tree walking just use the flags on display items to tell if they are in fixed position subtrees.

Also, don't let the fixed position flag on display items get set if we start building display items inside a subdocument. If didn't do this non-fixed content in a subdocument that is in fixed content in the parent document would be marked as in fixed position, and no occlusion would occur at all. This means that the fix applies to slightly less cases which are less important so that a more important case works the same as before.
2014-03-20 18:23:16 -05:00
Timothy Nikkel
fa25b28ebf Bug 874950. Record on display items if they are inside a fixed position subtree. r=roc 2014-03-20 18:23:16 -05:00
Ryan VanderMeulen
355f83a308 Backed out 8 changesets (bug 917755) for bustage making inbound a CLOSED TREE.
Backed out changeset 98e31d225a5a (bug 917755)
Backed out changeset 43bceca43fb6 (bug 917755)
Backed out changeset 5117e3f594e7 (bug 917755)
Backed out changeset ada41f2f74b8 (bug 917755)
Backed out changeset 5272cfbd63f3 (bug 917755)
Backed out changeset f3bbd98021f7 (bug 917755)
Backed out changeset b049571a7cce (bug 917755)
Backed out changeset 472cb7738e14 (bug 917755)
2014-03-20 16:34:25 -04:00
Ryan VanderMeulen
4b007b082c Backed out changesets 716f942b5798, 48edbd324d0f, 3e6446f6d0e6 (bug 918189) for bustage. 2014-03-20 16:33:54 -04:00
Robert O'Callahan
201b14766b Bug 918189. Part 2: Add tests for convertPoint/Rect/QuadFromNode. r=mats 2013-09-20 22:22:11 +12:00
Robert O'Callahan
0518f069ab Bug 918189. Part 1.5: Implement GeometryUtils.convertPointFromNode, convertRectFromNode, and convertQuadFromNode. r=jst 2014-03-12 09:11:39 +08:00
Robert O'Callahan
f79e645249 Bug 918189. Part 1: Implement GeometryUtils ConvertQuad/Rect/PointFromNode. r=mats 2014-03-12 09:11:38 +08:00
Robert O'Callahan
cb0ca90a5c Bug 917755. Part 6: Add tests for getBoxQuads. r=matspal 2013-09-20 22:21:42 +12:00
Robert O'Callahan
570c9395bc Bug 917755. Part 5: Implement GeometryUtils GetBoxQuads. r=matspal 2014-03-12 09:11:38 +08:00
Robert O'Callahan
e367900d2f Bug 917755. Part 1: Add nsLayoutUtils::TransformCSSPoints and nsLayoutUtils::GetFirstNonAnonymousFrame. r=matspal 2013-09-20 22:21:03 +12:00
Carsten "Tomcat" Book
2b4e4f7edd merge mozilla-inbound to mozilla-central 2014-03-20 13:56:02 +01:00
Carsten "Tomcat" Book
9fe557e5da Backed out changeset 1d12ab8bf5fe (bug 950526) for android reftest failures on a CLOSED TREE 2014-03-20 10:00:24 +01:00
Carsten "Tomcat" Book
80fc76217f Backed out changeset d5f4ed799fa3 (bug 950526) 2014-03-20 09:58:08 +01:00
Daniel Holbert
128cc39b95 (no bug) Remove whitespace at end of line in FrameLayerBuilder. (whitespace-only, DONTBUILD) 2014-03-20 14:49:27 +08:00
Daniel Holbert
8c8d7274be (no bug) Remove whitespace at end of line in nsCSSFrameConstructor. (whitespace-only, DONTBUILD) 2014-03-20 14:49:26 +08:00
Daniel Holbert
9bd5ed2407 (no bug) Remove whitespace at end of line in nsPresShell, nsIPresShell, and nsPresContext. (whitespace-only, DONTBUILD) 2014-03-20 14:49:25 +08:00
John Daggett
ba7d1fb3a6 Bug 921858 - reftest to test various space-containing lookup scenarios. r=jfkthame 2014-03-20 14:43:31 +08:00
John Daggett
753d90ac34 Bug 950526 - reftest for first-line handling of font styles. r=heycam 2014-03-20 14:43:30 +08:00
John Daggett
8a2f99bfd8 Bug 950526 - don't dump textruns within nsTextFrame::DidSetStyleContext. r=dbaron 2014-03-20 14:43:29 +08:00
Cameron McCormack
3aec122f32 Bug 959973 - Followup to actually run the tests. r=dbaron 2014-03-20 15:43:37 +11:00
Markus Stange
178e89ae41 Bug 926292 - Put overlay scrollbars on top of the topmost positioned descendant of the scrolled frame. r=mats 2014-03-20 10:12:46 +08:00
Markus Stange
89c093b68b Bug 926292 - Add a testing pref for stopping overlay scrollbars from fading out. r=roc 2014-03-20 10:12:46 +08:00
Markus Stange
29f041c71a Bug 984761 - Use a typed enum for ColorSpace and AlphaModel. r=bjacob 2014-03-20 10:12:43 +08:00
Wes Kocher
fd0079fbe5 Backed out changeset 8764e9f061d0 (bug 980679) for a smoketest regression 2014-03-19 16:14:42 -07:00
Carsten "Tomcat" Book
1c1cd1a7e6 Backed out changeset 094decae8ff3 (bug 917755) for mochitest-1 bustage on a CLOSED TREE 2014-03-19 09:47:43 +01:00
Carsten "Tomcat" Book
cf4b10ed86 Backed out changeset 4771c2b309ad (bug 917755) 2014-03-19 09:46:04 +01:00
Carsten "Tomcat" Book
e1e727b8cc Backed out changeset 1b7530ddb0af (bug 917755) 2014-03-19 09:46:01 +01:00
Carsten "Tomcat" Book
3ca2210713 Backed out changeset f7e676be8fa0 (bug 918189) 2014-03-19 09:45:58 +01:00
Carsten "Tomcat" Book
174014df63 Backed out changeset e60fe593236d (bug 918189) 2014-03-19 09:45:57 +01:00
Carsten "Tomcat" Book
1a9bcfcc8e Backed out changeset 2f3187619c9e (bug 918189) 2014-03-19 09:45:48 +01:00
James Kitchener
b8b229d76e Bug 522393 - Remove invisible operators special case in reflow. r=fredw, r=roc 2014-03-19 13:05:02 -04:00
Ryan VanderMeulen
c5975cfb88 Backed out changesets a17ee88f1fe7, 6e3aee4a9650, 07e5ed676919 (bug 950076) for Werror bustage. 2014-03-19 14:00:10 -04:00
Ryan VanderMeulen
9289517c9a Backed out changeset 76f6f3d6d8e3 (bug 522393) for Werror bustage. 2014-03-19 13:32:30 -04:00
Alessio Placitelli
f0971950d5 Bug 950076 - Use the return value of GetNodeTextContent for OOM checks. r=jst 2014-03-19 13:05:03 -04:00
James Kitchener
fa25f6be3e Bug 522393 - Remove invisible operators special case in reflow. r=fredw, r=roc 2014-03-19 13:05:02 -04:00
Neil Deakin
4398241309 Bug 972566, when a window is resized, panels should be repositioned after the view reflow rather than within the webshell listener, r=tn 2014-03-19 12:48:08 -04:00
Neil Deakin
54fd69f1a7 Bug 982734, make nsIWidget::GetWindowType and nsIWidget::GetZIndex return their values, remove some unused colour-related widget methods, r=tn 2014-03-19 12:48:08 -04:00
L. David Baron
c960af6e7f Rename tests to match normal convention (abspos rather than abpos) and to match their internal rel=match. No bug.
This is importing a changeset from the CSS WG test repository by
Peter Linss <peter.linss@hp.com>.

--HG--
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-abpos-child-1-ref.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-abspos-child-1-ref.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-abpos-child-1a.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-abspos-child-1a.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-abpos-child-1b.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-abspos-child-1b.html
2014-03-20 00:43:41 +08:00
Bobby Holley
a228c689cc Bug 825392 - Fix up a test to use transitive wrapping rather than getPrivilegedProps. r=bz 2014-03-19 13:35:44 -03:00
Ryan VanderMeulen
56a63775df Backed out changeset 1028c462d120 (bug 518592) for Werror bustage on a CLOSED TREE. 2014-03-19 11:16:36 -04:00
Xidorn Quan
bef437c64d Bug 985186 - Unwanted white space for multiple of 10,000 in Korean counter styles. r=jfkthame 2014-03-19 10:36:28 -04:00
James Kitchener
2ca56ed2d0 Bug 518592 - Fix single char <mi> frame type and add a test for dotless i. r=karlt 2014-03-19 10:36:27 -04:00
Robert O'Callahan
536ed13a33 Bug 918189. Part 2: Add tests for convertPoint/Rect/QuadFromNode. r=mats 2013-09-20 22:22:11 +12:00
Robert O'Callahan
0da1d0044c Bug 918189. Part 1.5: Implement GeometryUtils.convertPointFromNode, convertRectFromNode, and convertQuadFromNode. r=jst 2014-03-12 09:11:39 +08:00
Robert O'Callahan
2ca806293f Bug 918189. Part 1: Implement GeometryUtils ConvertQuad/Rect/PointFromNode. r=mats 2014-03-12 09:11:38 +08:00
Robert O'Callahan
a4a2c7a113 Bug 917755. Part 6: Add tests for getBoxQuads. r=matspal 2013-09-20 22:21:42 +12:00
Robert O'Callahan
4febcecf5a Bug 917755. Part 5: Implement GeometryUtils GetBoxQuads. r=matspal 2014-03-12 09:11:38 +08:00
Robert O'Callahan
bc8977d790 Bug 917755. Part 1: Add nsLayoutUtils::TransformCSSPoints and nsLayoutUtils::GetFirstNonAnonymousFrame. r=matspal 2013-09-20 22:21:03 +12:00
Seth Fowler
df7910132c Bug 63895 (Part 5) - Add more tests for positioned internal table objects serving as absolute containing blocks. r=dbaron
--HG--
rename : layout/reftests/abs-pos/table-internal-1-ref.html => layout/reftests/abs-pos/table-internal-5-ref.html
rename : layout/reftests/abs-pos/table-internal-3-ref.html => layout/reftests/abs-pos/table-internal-6-ref.html
rename : layout/reftests/abs-pos/table-internal-4-ref.html => layout/reftests/abs-pos/table-internal-7-ref.html
2014-03-19 11:04:26 +08:00
Seth Fowler
24f4381f75 Bug 63895 (Part 4) - Propagate overflow of relatively positioned table parts to the table frame. r=dbaron 2014-03-19 11:04:23 +08:00
Jonathan Watt
22431e7e4a Bug 984280 - Convert DOMSVGPoint from Thebes to Moz2d. r=heycam 2014-03-19 09:13:18 +08:00
Daniel Holbert
3ba0796843 Bug 981640: Mark reftest svg/smil/transform/paced-1.svg as fuzzy on Windows. 2014-03-19 08:46:34 +08:00