Commit Graph

45512 Commits

Author SHA1 Message Date
Kevin Wern
10ec87bdf8 Bug 1148694 patch 3 - remove tests affected by removal of CSSCharsetRule. r=dbaron, r=khuey 2015-04-20 23:38:13 -07:00
Kevin Wern
cad494d874 Bug 1148694 patch 2 - Remove interface and implementation of CSSCharsetRule. r=dbaron 2015-04-21 00:08:36 -07:00
Kevin Wern
e47e3405b8 Bug 1148694 patch 1 - Stop creating a CharsetRule object when parsing @charset rules. r=dbaron 2015-04-21 01:26:11 -07:00
Jonathan Kew
4475b452c8 Bug 1156366 - Support vertical writing modes and upright/sideways glyph orientation in SVG text-on-a-path. r=longsonr 2015-04-25 09:10:19 +01:00
Shyam Venkatesh
83e06d1f7f Bug 1157728: Removed StackArena::Init() and call to it as it is now useless. r=dholbert 2015-04-25 07:47:10 +05:30
Kartikaya Gupta
9d19536ed8 Bug 1156952 - Switch Fennec over to the "attached" widget model, so we get one nsWindow instead of two. r=snorp 2015-04-24 22:26:34 -04:00
Ted Clancy
f54f3ac732 Bug 1151908 - Updating our character property data with new Bidi info from Unicode 6.3. r=smontagu
--HG--
extra : rebase_source : 30ded48b101e138996fd819ee255275ec7a7a350
2015-04-17 14:19:39 -04:00
Nathan Froyd
d264a57b76 Bug 1155776 - move USE_EXTENSION_MANIFEST to moz.build; r=mshal 2015-04-17 13:51:42 -04:00
Ryan VanderMeulen
6eee1dc356 Merge m-c to fx-team. a=merge
CLOSED TREE
2015-04-24 16:07:47 -04:00
David Anderson
979949ce62 Mark unaccelerated antialiasing reftest failures with APZ as fuzzy. (bug 1157716, r=mstange)
With APZ, we always layerize the first scrollable element of the page,
if the page itself is not scrollable. These additional layers can cause
fuzzy reftest failures in two ways: differences in blending, and by
disabling sub-pixel test anti-aliasing. The latter is only a problem
with unaccelerated drawing, because we don't support component alpha
layers with BasicLayers. (We also don't support them with
BasicCompositor, but "Reftest unaccelerated" only tests BasicLayers).
2015-04-24 10:13:32 -04:00
Jonathan Kew
cdd4e7ba24 Bug 1155261 - Fix computation of glyph extents and text-frame visual overflow for vertical text frames. r=smontagu 2015-04-27 09:45:55 +01:00
Jonathan Kew
23dac4fb71 Bug 1158549 - Reftest for size constraints in vertical writing mode. r=smontagu 2015-04-27 09:41:57 +01:00
Jonathan Kew
3381e78769 Bug 1158549 - Properly apply min/max constraints to block-size in vertical writing modes. r=smontagu 2015-04-27 09:41:37 +01:00
Jonathan Kew
b52d9eb75f Bug 1157691 - Explicitly enable writing-mode support for reftests that require it. r=smontagu 2015-04-27 09:36:01 +01:00
Jonathan Kew
577029853b Bug 1154227 - Fix the painting of text-shadow in vertical writing modes. r=smontagu 2015-04-27 09:35:59 +01:00
Masayuki Nakano
cadd376534 Bug 1157083 <abbr> and <acronym> should use dotted underline of text-decoration instead of border-bottom r=dbaron 2015-04-24 11:02:35 +09:00
Xidorn Quan
8026501005 Bug 1117227 part 6 - Reftest for text-overflow on vertical text. r=jfkthame
--HG--
extra : source : b6ff031a157659309608a0148d269a636bf503bd
2015-04-24 10:15:32 +12:00
Xidorn Quan
ff400fb4a5 Bug 1117227 part 5 - Render ellipsis in correct orientation. r=jfkthame
--HG--
extra : source : 4766d98091b93c120d41a5118406d82a38d9ff62
2015-04-24 10:15:32 +12:00
Xidorn Quan
3d4aa499c8 Bug 1117227 part 4 - Make overflow mark baseline computation aware of writing-mode. r=jfkthame
--HG--
extra : source : 4dc392ec04f77fd74811dc5595d6f199f99b8796
2015-04-24 10:15:32 +12:00
Xidorn Quan
065df6bd63 Bug 1117227 part 3 - Make nsTextFrame::MeasureCharClippedText use frame isize instead of width. r=roc
--HG--
extra : source : 235e6a1f915ea38fd4dc9c966d3a619bca6b3e59
2015-04-24 10:15:32 +12:00
Xidorn Quan
cb03df0c0b Bug 1117227 part 2 - Convert TextOverflow to logical coordinate. r=roc
--HG--
extra : source : fc021c6ca3be7dbbe30fadfbe41f9e8b69c2f6a3
2015-04-24 10:15:32 +12:00
Xidorn Quan
1d2d23191b Bug 1117227 part 1 - Add IntersectRect method to LogicalRect. r=jfkthame
--HG--
extra : source : 3c42cbab1f5087c5411984c69b2f06939b735e93
2015-04-24 10:15:32 +12:00
Kyle Machulis
358e55b5b7 Bug 852944 - Gamepad API IPC; r=ted, r=baku
--HG--
extra : rebase_source : 34ca0c1e1b7fcc312b5d7c97d5bd2086af2bc7ce
2015-04-23 15:05:29 -07:00
Kartikaya Gupta
cd5b55f8d6 Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
Mike Conley
f83673f8f9 Bug 1096093 - Send ThemeRefresh message from parent down to content process. r=smaug.
--HG--
extra : rebase_source : ac3d5c25681356af06321bf4e2c8292fe88a3ade
2015-04-22 10:58:33 -04:00
L. David Baron
22f24eccb0 Bug 1157455 followup - fix test_transitions_per_property.html to expect different angle interpolation results, on a CLOSED TREE. 2015-04-23 10:50:31 -07:00
L. David Baron
f483a7ca39 Bug 1157455 patch 3 - When interpolating angles, preserve units when possible in order to avoid floating point error. r=birtles
This avoids accumulating floating point error from conversion, so that
when we switch to doubles at the start of
nsCSSValue::GetAngleValueInRadians we're using the original unit, rather
than a different one that will round differently.
2015-04-23 09:18:13 -07:00
L. David Baron
20dd52e0ad Bug 1157455 patch 2 - Send angles (in CSS transform functions) to the compositor thread with their units rather than sending all such angles in radians. r=birtles
This avoids accumulating floating point error from conversion, so that
when we switch to doubles at the start of
nsCSSValue::GetAngleValueInRadians we're using the original unit, rather
than a different one that will round differently.
2015-04-23 09:18:12 -07:00
L. David Baron
4ecd5ea19f Bug 1157455 patch 1 - Add tests for OMTA transforms in degrees in addition to those in radians. r=birtles
In bug 1156456 I landed tests with the transform in radians to work
around float rounding issues with having the transform in degrees.  This
bug will fix the problems with degrees, so I'm duplicating the tests
here to have variants with both degrees and radians.

--HG--
rename : layout/reftests/transform-3d/animate-cube-ref.html => layout/reftests/transform-3d/animate-cube-degrees-ref.html
rename : layout/reftests/transform-3d/animate-cube-zoom-ref.html => layout/reftests/transform-3d/animate-cube-degrees-zoom-ref.html
rename : layout/reftests/transform-3d/animate-cube-zoom.html => layout/reftests/transform-3d/animate-cube-degrees-zoom.html
rename : layout/reftests/transform-3d/animate-cube.html => layout/reftests/transform-3d/animate-cube-degrees.html
rename : layout/reftests/transform-3d/animate-cube-ref.html => layout/reftests/transform-3d/animate-cube-radians-ref.html
rename : layout/reftests/transform-3d/animate-cube-zoom-ref.html => layout/reftests/transform-3d/animate-cube-radians-zoom-ref.html
rename : layout/reftests/transform-3d/animate-cube-zoom.html => layout/reftests/transform-3d/animate-cube-radians-zoom.html
rename : layout/reftests/transform-3d/animate-cube.html => layout/reftests/transform-3d/animate-cube-radians.html
2015-04-23 09:18:12 -07:00
L. David Baron
942ad651e2 Bug 1144885 followup - Remove spec links from reference, which the CSS test suite validator treats as an error. 2015-04-23 09:18:12 -07:00
Carsten "Tomcat" Book
3dd2fa2aaf Backed out changeset 8ed8157d26a2 (bug 1096093) 2015-04-23 17:18:22 +02:00
Mike Conley
e21dde0949 Bug 1096093 - Send ThemeRefresh message from parent down to content process. r=smaug.
--HG--
extra : rebase_source : 2103f47a75612dc4f1b719f5913d6cc14be5fbf7
2015-04-22 10:58:33 -04:00
Dave Townsend
7b5d12ad46 Bug 1038068: Check add-on signatures and refuse to install unsigned or broken add-ons (preffed off for now). r=dveditz
--HG--
extra : source : 3b48e1a81a170634dce964cd462c752d09680805
2015-03-31 11:32:40 -07:00
Ehsan Akhgari
90c2585151 Bug 1157046 - Remove ARRAY_LENGTH in favor of MOZ_ARRAY_LENGTH; r=Waldo 2015-04-23 08:30:41 -04:00
L. David Baron
c5d31331ce Bug 1156456 followup - Also annotate as fuzzy on Mulet, on a CLOSED TREE. 2015-04-22 21:50:01 -07:00
Ting-Yu Lin
4961c5a716 Bug 1158090 - Fix documentation for nsDisplayListBuilder constructor. r=roc 2015-04-24 02:41:00 -04:00
L. David Baron
cc896f3f84 Bug 1156456 patch 3 - Send transform origin and perspective origin to layer in device pixels rather than CSS pixels. r=birtles 2015-04-22 19:37:04 -07:00
L. David Baron
a29e961fde Bug 1156456 patch 2 - Transform the z component just like the x and y. r=birtles
I confirmed locally that this patch fixes the reftest (per reftest.list
change).
2015-04-22 19:37:04 -07:00
L. David Baron
7952663706 Bug 1156456 patch 1 - Reftests comparing a 3-D transformed cube generated by main-thread paths and off-main-thread animations paths. r=birtles
I confirmed that without the patch, the test marked as failing (the one
with zoom) in this patch (which will be unmarked in the next patch)
fails.

There is also a small amount of fuzz that will need to be annotated with
an additional patch on top of the patch stack.
2015-04-22 19:37:04 -07:00
L. David Baron
9df2ba75ee Bug 1084322 followup - Fix reftest-analyzer display of image from a failing != test. 2015-04-22 19:37:04 -07:00
Bas Schouten
2862be92b8 Bug 1151821 - Test: Test whether simple canvas globalCompositeOperators work when a clip is set. r=jrmuizel 2015-04-10 07:09:31 +02:00
Xidorn Quan
a5e91c3f1c Bug 1157011 - Check line break suppression of BR frame from its parent frame. r=dholbert
--HG--
extra : source : e68c66b656c730352e5ebdbddd87113ede715c76
2015-04-23 13:32:53 +12:00
Xidorn Quan
9c13d12b5e Bug 1156222 - Check frame type instead of display type for ruby and simplify code. r=dholbert
--HG--
extra : source : c00a44185d012b612271e0c64c444832c19d3b54
2015-04-23 13:32:53 +12:00
Botond Ballo
568cc0377d Bug 1151663 - Only call GetOrMaybeCreateDisplayPort() in nsLayoutUtils::PaintFrame() if we are using containers for root scroll frames. r=tn
--HG--
extra : rebase_source : 832db6a5ae1b513aaea7e2349f09bb500ef726e8
extra : source : c1f3b5ba0562e98d8b39c28f3964e37dfcff8528
2015-04-15 17:14:32 -04:00
Botond Ballo
ed5527e448 Bug 1151663 - Initialize display list builder flags earlier in nsLayoutUtils::PaintFrame(). r=tn
--HG--
extra : rebase_source : 9b64fb508e4ed224396bf8c2c060264ec6f870d0
extra : source : 1cdbbd749b04f4a6068560f5d7c5528240fa8dfe
2015-04-15 15:48:09 -04:00
Boris Zbarsky
be50caa66c Bug 1157279. Escaping CSS identifiers should use lowercase letters for hex digits, not uppercase ones. r=dbaron 2015-04-22 20:30:10 -04:00
Boris Zbarsky
9cbb1e7539 Bug 1157451. Make nsCORSListenerProxy::Init take an enum, not a boolean, to indicate what to do with data: URIs. And make it required, not defaulted to disallowing. r=smaug 2015-04-22 20:30:10 -04:00
Boris Zbarsky
6e3069def0 Bug 1109693. More places that use CORS should in fact allow data: URIs. r=smaug 2015-04-22 20:30:10 -04:00
Seth Fowler
3656603a55 Bug 1085783 (Part 2) - Add a test for rounding behavior when high-quality downscaling. r=roc 2015-04-22 13:04:06 -07:00
Seth Fowler
8b1d7b5a59 Bug 1085783 (Part 1) - Snap both the fill and dest rects using UserToDeviceSnapped() when pixel snapping images. r=roc 2015-04-22 13:04:04 -07:00
Seth Fowler
b07b0bc85e Bug 1068881 (Part 2) - Add reftests for rounding image dest rects to zero size. r=roc 2015-04-22 13:04:01 -07:00
Ryan VanderMeulen
ca0017ff24 Bug 1028716 - Adjust the OSX fails-if condition for progress-orient-vertical.html to only apply to 10.6.
CLOSED TREE
2015-04-22 13:52:36 -04:00
Markus Stange
99aa852b73 Bug 1156393 - Cache nsDisplayBorder bounds. r=roc 2015-04-20 18:57:51 -04:00
Markus Stange
c8321737e0 Bug 1141089 - Add more asserts for DisplayItemData, trying to catch whether we're accessing deleted instances. r=roc 2015-04-21 14:13:54 -04:00
Mats Palmgren
c88780414c Bug 1153586 - Prevent the same BUTTON_DOWN event from opening the dropdown menu again on platforms that don't consume the event. r=enndeakin
--HG--
extra : rebase_source : c5d8c8b39e6d35387e99c7cf2bb07b3f65de024e
2015-04-15 16:01:00 -04:00
Jonathan Kew
d2159a3b44 Bug 1028716 - Reftests for <progress> and <meter> with various writing-mode and -moz-orient combinations. r=dbaron 2015-04-22 16:08:57 +01:00
Jonathan Kew
b68965af5a Bug 1028716 part 2 - Handle the new orient values in <progress> and <meter> layout. r=smontagu 2014-06-27 11:25:11 +01:00
Jonathan Kew
ba44c76dce Bug 1028716 part 1 - Remove the 'auto' value of the -moz-orient property, and add 'inline' (new initial value) and 'block'. r=dbaron 2014-06-27 11:22:32 +01:00
Kartikaya Gupta
57fccccc35 Bug 1147038 - Update some tests to pass on desktop platforms. r=tn
The test in question sets up an inconsistent state for desktop platforms because
it intends to simulate what the APZ does, but does it only partially. The APZ
code would set a CSS viewport (which the test does) but it doesn't set the
scroll-position-clamping-scroll-port-size which the APZ would always do.
2015-04-22 10:16:33 -04:00
Kartikaya Gupta
02fc2e12be Bug 1154478 - Really force-enable the event-regions code when APZ is enabled. r=tn 2015-04-22 10:16:27 -04:00
Carsten "Tomcat" Book
7ef9b42c28 merge mozilla-central to mozilla-inbound IGNORE IDL
--HG--
extra : rebase_source : 294f0cad1bada4ebf38f24ff52ebbd7798de5912
extra : amend_source : d7b1044b736cf3e351efbef9610c83a14e6543ae
2015-04-22 16:09:56 +02:00
Kartikaya Gupta
53dd599648 Back out cset 17aad8f83237 (bug 1154499) now that we have a nightly with APZ enabled. r=me a=me 2015-04-22 09:36:25 -04:00
Ryan VanderMeulen
b1b768e9ab Bug 1123563 - Skip test-animated-image-layers.html and test-animated-image-layers-background.html on Android and Linux. a=me
--HG--
extra : rebase_source : 31fc337503ec91ed87b5a4ea36493169e8620e61
2015-04-22 09:30:46 -04:00
David Anderson
2509aee14f Fix bogus assertion in nsLayoutUtils::SetDisplayPortMargins. (bug 1156409, r=botond, a=philor) 2015-04-21 23:01:41 -04:00
Wes Kocher
b6e78e87bc Merge b2ginbound to m-c a=merge 2015-04-21 15:31:59 -07:00
Ryan VanderMeulen
8819aa2b6e Bug 1141867 - Add OSX 10.10 fuzz to the newly-added tests. a=merge
--HG--
extra : source : e96da160129953bebacc8e66bc8b6b178ab3fc09
extra : amend_source : ece231f919bf21cc4a3718b3066eebe868babb9b
2015-04-21 13:54:07 -04:00
Wes Kocher
687641fa14 Merge inbound to m-c a=merge 2015-04-21 15:23:57 -07:00
Wes Kocher
103ab1ed0e Merge fx-team to m-c a=merge 2015-04-21 15:15:48 -07:00
David Anderson
9ae1c872f4 Enable APZ for E10S on Windows for one Nightly. This patch will be backed out after one nightly. (bug 1154459, r=kats, a=ryanvm) 2015-04-21 15:35:19 -04:00
Carsten "Tomcat" Book
c560e33395 Merge mozilla-central to mozilla-inbound 2015-04-21 12:38:27 +02:00
Carsten "Tomcat" Book
57a5fd4e81 merge fx-team to mozilla-central a=merge 2015-04-21 12:06:04 +02:00
Timothy Nikkel
c92044ef7a Bug 1156598. Remove old, dead scroll layer item code. r=mstange 2015-04-20 22:48:10 -05:00
Brian Birtles
2cfdd7ac06 Bug 1154615 part 7 - Rename CSSAnimationPlayer and CSSTransitionPlayer; r=jwatt 2015-04-21 10:22:10 +09:00
Brian Birtles
13834006d7 Bug 1154615 part 6 - Rename references to players within layout/; r=jwatt
We will rename CSSAnimationPlayer/CSSTransitionPlayer in a separate patch
2015-04-21 10:22:10 +09:00
Brian Birtles
8f5fbac8a9 Bug 1154615 part 5 - Rename AnimationPlayerCollection to AnimationCollection; r=jwatt 2015-04-21 10:22:10 +09:00
Brian Birtles
4f7bf25c27 Bug 1154615 part 2 - Rename PendingPlayerTracker to PendingAnimationTracker; r=jwatt
This patch also updates the method names on PendingAnimationTracker but leaves
a number of local variables which will be fixed in a subsequent patch.

--HG--
rename : dom/animation/PendingPlayerTracker.cpp => dom/animation/PendingAnimationTracker.cpp
rename : dom/animation/PendingPlayerTracker.h => dom/animation/PendingAnimationTracker.h
2015-04-21 10:22:09 +09:00
Brian Birtles
5c7929fd2a Bug 1154615 part 1 - Rename AnimationPlayer to Animation in WebIDL; r=smaug
This patch is a fairly minimal rename of the AnimationPlayer interface. It
leaves a bunch of local variables and helper classes still using the word
"player". These will be addressed in subsequent patches that don't require DOM
peer review.

--HG--
rename : dom/animation/AnimationPlayer.cpp => dom/animation/Animation.cpp
rename : dom/animation/AnimationPlayer.h => dom/animation/Animation.h
rename : dom/webidl/AnimationPlayer.webidl => dom/webidl/Animation.webidl
2015-04-21 10:22:09 +09:00
Wes Kocher
4b97517c7c Merge m-c to fx-team a=merge CLOSED TREE 2015-04-20 17:19:07 -07:00
Wes Kocher
1d3fd84d27 Merge fx-team to m-c a=merge CLOSED TREE 2015-04-20 17:04:09 -07:00
Simon Montagu
bfb5cc9a66 Bug 1139306: Fix margin sides for right-to-left scrollbars depending on the actual position of the scrollbar as determined by layout.scrollbar.side, r=tn 2015-04-21 11:32:01 +03:00
Jonathan Kew
d6d23c7bc2 Backout changeset 0b070d503800 (bug 1153510) for mochitest orange on a CLOSED TREE 2015-04-20 18:51:20 +01:00
Ehsan Akhgari
9646e11caf Bug 1156028 - Teach clang-analyzer about XPCOM assertion macros; r=froydnj 2015-04-20 13:10:35 -04:00
Jonathan Kew
33ba188037 Bug 1153510 - Improve handling of vertical writing mode in SVG text frames. r=longsonr 2015-04-20 18:05:47 +01:00
Mark Capella
689f5b0c2e Bug 1156037 - SelectWord triggered by NS_MOUSE_MOZLONGTAP widget event doesn't move focus, r=tylin 2015-04-20 10:41:20 -04:00
Wes Kocher
85f8cf9b3d Bug 1155426 - disable the test on b2g. r=ryanvm 2015-04-20 14:27:00 +02:00
Carsten "Tomcat" Book
e02a605417 Merge mozilla-central to b2g-inbound 2015-04-21 15:37:22 +02:00
Denis Volk
32e981896d Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj 2015-04-15 12:47:03 -04:00
Mason Chang
30c8ca5402 Bug 1073209 - Eliminate usage of CreateSamplingRestrictedDrawable on OS X. r=jrmuizel 2015-04-20 08:38:43 -07:00
Ehsan Akhgari
9a37d83f10 Bug 1156104 follow-up: forgot to actually include mURI 2015-04-19 15:05:57 -04:00
Ehsan Akhgari
c8ee4d289f Bug 1156104 - Mark nsROCSSPrimitiveValue::m{Color,Value,URI} as MOZ_OWNING_REF; r=dbaron 2015-04-19 15:04:25 -04:00
Jonathan Kew
16916f1715 Bug 1156021 - Reftest for text-indent specified as percent in vertical writing mode. r=dbaron 2015-04-19 19:03:29 +01:00
Jonathan Kew
5e4b54b22c Bug 1156021 - Use containing block inline-size (as appropriate for writing mode) to compute text-indent when specified as percentage. r=dbaron 2015-04-19 19:03:27 +01:00
Phil Ringnalda
d68dd54c30 Backed out changeset ffde08dc5ceb (bug 1154459) for bustage
CLOSED TREE
2015-04-19 08:19:14 -07:00
David Anderson
4f6a850738 Enable APZ for E10S on Windows for one nightly build. (bug 1154459, r=kats) 2015-04-17 11:49:55 -04:00
Ehsan Akhgari
a1a0553b7d Bug 1155488 - Mark nsIPresShell::mHiddenInvalidationObserverRefreshDriver as MOZ_UNSAFE_REF; r=roc 2015-04-18 19:08:24 -04:00
Ehsan Akhgari
923ff8e7e4 Bug 1155485 - Mark nsFrameManagerBase::mPresShell as MOZ_NON_OWNING_REF; r=roc 2015-04-18 19:08:21 -04:00
Ehsan Akhgari
f9076fe89f Bug 1155478 - Use smart pointers for three members of nsIPresShell; r=roc 2015-04-18 19:08:18 -04:00
Daniel Holbert
2557a4c19e Bug 1155880 part 3: Rename nsTableFrame::GetColumnWidth to use "ISize" instead of "Width". r=jfkthame 2015-04-18 16:01:27 -07:00
Daniel Holbert
d4904872c9 Bug 1155880 part 2: Rename nsTableColFrame Get/Set/ResetFinalWidth methods to use "ISize" instead of "Width". r=jfkthame 2015-04-18 16:01:26 -07:00
Daniel Holbert
2f0de265e8 Bug 1155880 part 1: Rename nsITableLayoutStrategy::ComputeColumnWidths and associated comments to use "ISize" instead of "Width". r=jfkthame 2015-04-18 16:01:24 -07:00