Michael Layzell
777c6e8e3d
Bug 1339537
- Part 4: Pass FilterPrimitiveDescription by const reference in AddLightingAttributes, r=mstange
...
MozReview-Commit-ID: J3m2uzv7jW0
2017-04-27 12:44:53 -04:00
Jonathan Watt
228e5e7649
Bug 1358828, part 3 - Split AutoSVGRenderingState into two separate classes. r=longsonr
...
MozReview-Commit-ID: CmBB3MHU4Dt
2017-04-03 10:40:13 +01:00
Jonathan Watt
80319e98e0
Bug 1358794, part 1 - If necessary, synthesize a viewBox for SVG embedded via SVG <image>. r=longsonr
...
MozReview-Commit-ID: DuKOqfxCUW8
2017-03-25 15:57:29 +00:00
Wes Kocher
5ce5528fb1
Merge inbound to m-c a=merge
...
MozReview-Commit-ID: DQDuEiYLWCO
2017-04-20 15:30:43 -07:00
Chris Peterson
064b9e3229
Bug 1356843 - Fix -Wcomma warnings in dom/svg/SVGGeomeetryElement.h. r=dholbert
...
clang's -Wcomma warning warns about suspicious use of the comma operator such as between two statements.
dom/svg/SVGGeometryElement.h:117:21 [-Wcomma] possible misuse of comma operator here
dom/svg/SVGGeometryElement.h:117:41 [-Wcomma] possible misuse of comma operator here
dom/svg/SVGGeometryElement.h:128:14 [-Wcomma] possible misuse of comma operator here
dom/svg/SVGGeometryElement.h:128:23 [-Wcomma] possible misuse of comma operator here
MozReview-Commit-ID: CfNOsfcJTEp
--HG--
extra : rebase_source : a9cda16923d853b4b9fd26d796ba1a6739e85383
extra : source : 91d3b4d038285c034294ea3164c4e55e300e4823
2017-04-17 22:22:51 -07:00
cku
950a617ff2
Bug 1357432 - Part 3. Resolve local-ref in SVGUseElement::LookupHref by nsSVGEffects::GetBaseURLForLocalRef. r=heycam
...
MozReview-Commit-ID: CGCwQ73EQA7
--HG--
extra : rebase_source : 3ca8c0f052846ffd197e0d70d7a1e54676871f52
2017-04-19 02:06:07 +08:00
Olli Pettay
27d9c5656a
Bug 1355540, use SegmentedVector for pending links to avoid slow hashtable lookups in hot codepaths, r=bz
2017-04-15 18:55:05 +03:00
J. Ryan Stinnett
dbbda3c4ba
Bug 1329088 - Pass SVG length mode to Stylo. r=emilio
...
In the SVG element case, tell Stylo to use the SVG length mode.
MozReview-Commit-ID: 9UR1AYRh4RE
2017-04-14 18:27:49 +08:00
Dan Banner
cdf987089d
Bug 1107904 - Remove packed.js and references to it as it is unused. r=standard8
...
MozReview-Commit-ID: K5TLF92pHq4
--HG--
extra : rebase_source : 295bf325a07fa8ec4c55a8babf5418588308dca6
2017-04-12 11:10:00 +01:00
Carsten "Tomcat" Book
3a762886de
Merge mozilla-central to mozilla-inbound
2017-04-07 15:33:03 +02:00
Xidorn Quan
ea9834babb
Bug 1343964 part 4 - Have document and svg:use element own URLExtraData. r=bholley,bz
...
MozReview-Commit-ID: 8451L5qJvEx
--HG--
extra : rebase_source : caa9b3ccd786563a59dc39fe7c23842928c173cc
2017-04-06 16:51:29 +10:00
Xidorn Quan
2df49dbac2
Bug 1343964 part 1 - Move URLExtraData into its own header. r=heycam
...
This patch does the following in addition to a simple move:
* change the type of the pointers from RefPtr to nsCOMPtr
* move it from mozilla::css namespace to mozilla
MozReview-Commit-ID: 72MYq6kWm4s
--HG--
extra : rebase_source : 400fe0d7cc422f22592c302cfd4e457830b77e3e
2017-04-04 10:04:13 +10:00
vincentliu
44a355f273
Bug 1347617 - In SVG ConvolveMatrix code, bail out if kernelUnitLength is negative or zero. r=dholbert
2017-04-06 15:40:35 -04:00
Brian Birtles
33041d1214
Bug 1315874 - Drop 'ForElement' from GetStyleContextForElementXXX methods; r=heycam
...
In the next patch we want to add a method called
GetUnanimatedStyleContextForElementNoFlush but that's much too long. Instead it
seems better to just drop 'ForElement' from all these methods since it should be
fairly obvious we are getting the style context for an element given that the
first argument is an element.
MozReview-Commit-ID: JQKaEuCKV2F
--HG--
extra : rebase_source : 3ba51f3b00d1ec7bc91102629d9c0abb88992fef
2017-04-05 14:39:23 +09:00
Brian Birtles
8ff0648aee
Bug 1353208 - Use UniquePtr for handling heap-allocated nsISMILAttr objects; r=dholbert
...
MozReview-Commit-ID: 10lA0ZaXChj
--HG--
extra : rebase_source : f5285b5363b2247ac73f63d9d13f8a109728a7c2
2017-03-30 13:10:07 +09:00
Brian Birtles
a8a97cdc11
Bug 1353208 - Drop a few remaining references to attributeType; r=hiro
...
These are left over from bug 1062106.
MozReview-Commit-ID: 4vfcT4O2tMz
--HG--
extra : rebase_source : 2d606f0d5470ae0c56318f7d682ff1ab3ad86f19
2017-03-30 13:10:06 +09:00
Aryeh Gregor
b03daa975a
Bug 1314388 - Remove SVGZoomEvent; r=longsonr,smaug
...
Some code in SVGSVGElement.cpp might be unnecessary now, but Robert said
to leave it for a followup.
MozReview-Commit-ID: 8PpRGeGrREJ
2017-04-04 15:36:22 +03:00
Xidorn Quan
2da48b454d
Bug 1352025 part 2 - Stop passing in url as string for parsing. r=manishearth
...
MozReview-Commit-ID: CRgOO7NyYd9
--HG--
extra : rebase_source : 6b04d1c001082740abfc344fdb2a7f0351c3d7d9
2017-04-01 16:17:55 +11:00
Xidorn Quan
e3e4554871
Bug 1351957 - Create URLExtraData for holding base uri, referrer, and principal. r=heycam
...
MozReview-Commit-ID: 1wqTb3kvvWh
--HG--
extra : rebase_source : cae3dba21c916ab0f52056bd9db215249b650cd3
2017-03-30 18:54:48 +11:00
Sebastian Hengst
427e8f836d
Backed out 2 changesets (bug 1314388) for timing out in dom/svg/test/test_zoom.xhtml. r=backout
...
Backed out changeset 804d8199aeca (bug 1314388)
Backed out changeset b7fab6a89c1d (bug 1314388)
2017-04-02 14:37:08 +02:00
Aryeh Gregor
4a039c1336
Bug 1314388 - Remove SVGZoomEvent; r=longsonr,smaug
...
Some code in SVGSVGElement.cpp might be unnecessary now, but Robert said
to leave it for a followup.
MozReview-Commit-ID: 8PpRGeGrREJ
2017-04-02 13:51:33 +03:00
Olli Pettay
12316106ee
Bug 1352389, don't push extra script blocker on stack when setting attributes, r=bz
...
--HG--
extra : rebase_source : 2571f3d502114b84f8b95bbb50c5a0707eb14298
2017-03-31 22:54:41 -04:00
Olli Pettay
5706cc683b
backout Bug 1352389, r=backout
2017-03-31 16:59:06 -04:00
Olli Pettay
b86d26e216
Bug 1352389, don't push extra script blocker on stack when setting attributes, r=bz
...
--HG--
extra : rebase_source : 55820b78425fe7a64e77eaeb31f5093309f2d06c
2017-03-31 13:13:52 -04:00
Sebastian Hengst
1ebf682014
merge mozilla-central to mozilla-inbound. r=merge a=merge
2017-03-26 21:00:31 +02:00
Jonathan Watt
d942383a79
Bug 1350493 - Speed up and clean up SVGTransformableElement::PrependLocalTransformsTo and its overrides. r=longsonr
2017-02-23 08:35:08 +00:00
Manish Goregaokar
b8c378e1a5
Bug 1330051; Reparse style attribute when adopting across style backends; r=bz
...
MozReview-Commit-ID: LWN57KApiMu
--HG--
extra : rebase_source : 20cfb66a8d6d5f88aa3db9cc6876f986d71290b4
2017-03-24 15:28:19 -07:00
Jan Henning
8a6b5c9c8a
Bug 1328868 - Part 2 - Apply the system font scale as an additional text zoom factor to all pages that are not font inflated. r=tnikkel
...
We want to use a similar model as Chrome on Android does for scaling our display of web content, that is use font inflation for desktop pages and plain text zooming for everything else.
Since we don't want to simply clobber any text zoom that might have been set by the user/front-end code, we allow setting and storing the system font scale separately on the PresContext. We then calculate the effective text zoom value as the product of the system font scale and the current text zoom value.
Any function that is using the PresContext's TextZoom value for layouting/rendering is switched over to this new EffectiveTextZoom value, whereas functions that are interested in the text zoom as actually set by the user/front-end (e.g. the nsDocumentViewer, or the code responsible for copying text and full zoom settings into the new PresContext on page navigation) continue using the plain TextZoom value.
As long as font inflation is enabled in principle (e.g. font.size.inflation.minTwips != 0), every page starts out as eligible for font inflation until the relevant meta viewport tags marking the page as "mobile friendly" have been detected. Since the PresShell caches the font inflation state and only recalculates it when necessary, we make use of that and set the PresContext's system font scale as necessary whenever the font inflation state has been refreshed.
MozReview-Commit-ID: 2InyE04wKAW
--HG--
extra : rebase_source : 3f6d7128f37c1dc18f67a6655f86d9a3003fe90b
extra : source : 6100458b97289f9aea5ac8fda57ded045e6860b7
2017-02-25 13:22:52 +01:00
Mantaroh Yoshinaga
a705dd5269
Bug 1062106 part 4 - Remove GetTargetAttributeType() from svg element. r=birtles
...
MozReview-Commit-ID: L6UDAJUGnlx
--HG--
extra : rebase_source : 3dacb4d4fd7633fd45912a2cb3b28fd0fc248311
2017-03-21 15:45:58 +09:00
Mantaroh Yoshinaga
2558f6837e
Bug 1062106 part 3 - Remove SMIL MappedAttribute mechanism. r=birtles
...
We can remove unnecesasary SMILMappedAttribute and SMILAttrAnimationRuleProcessor since earlier patches in this serieas mean this code is no longer used.
MozReview-Commit-ID: 5Rl5WFW5zZ1
--HG--
extra : rebase_source : cf2efca8d01c7e6cd5bd3b3b44d994c6cbb760e9
2017-03-21 15:45:58 +09:00
Mantaroh Yoshinaga
df05b9f9a2
Bug 1062106 part 1 - Remove special handling of attributeType='XML'. r=birtles,longsonr+218550
...
This patch removes handling of the 'attributeType' attribute so that we behave
as if attributeType is always 'auto'. This means that for CSS properties we
always animate them as CSS properties (i.e. we animate them as part of the
SMIL override stylesheet) rather than mapped attributes.
The one special case is width/height on an outer SVG. Previously we animated
this as a mapped attribute since Web compatibility requires that the
width/height on an outer SVG, when set explicitly, are mapped to style.
However, we can produce the same behavior by animating these as CSS properties
(as opposed to mapped attributes). There is no observable difference in results
returned by the SVG DOM APIs, only the level at which the result is added to
the cascade: the SMIL override stylesheet instead of the attribute animation
presentation hint level.
As part of this patch, we animate width/height on outer SVG elements as CSS
properties as opposed to mapped attributes both for consistency and also so
we can remove the animated mapped attribute code altogether.
MozReview-Commit-ID: Ll1LWWRQ66R
--HG--
extra : rebase_source : bd513e191e3d0ba2a1e982eea4c548392bf5817d
2017-03-21 15:42:17 +09:00
Jonathan Watt
e331fb83fd
Bug 1349244 - Rename nsISVGChildFrame to nsSVGDisplayableFrame to reduce confusion. r=longsonr
...
MozReview-Commit-ID: IQCv2ebZbwk
--HG--
rename : layout/svg/nsISVGChildFrame.h => layout/svg/nsSVGDisplayableFrame.h
2017-02-09 18:24:31 +00:00
Boris Zbarsky
2c3a8eee0b
Bug 1347639. Add nsImageLoadingContent::AsContent to make getting the relevant nsIContent* faster. r=qdot
...
MozReview-Commit-ID: 9sE3pbHwYbV
2017-03-16 17:43:34 -04:00
Boris Zbarsky
33a3057732
Bug 656197 part 2. Move calls to BeforeSetAttr to after AttributeWillChange. r=smaug
...
This means that implementations of BeforeSetAttr no longer need to UpdateState.
Those UpdateState calls will be removed in a bit.
MozReview-Commit-ID: 1yEg5D4garD
2017-03-16 14:50:41 -04:00
Boris Zbarsky
f890715ffc
Bug 656197 part 1. Remove the generic attr preparsing mechanism from BeforeSetAttr and just preparse class attributes directly in the one place that needs to do it. r=smaug
...
This removes the requirement that BeforeSetAttr comes before AttributeWillChange
(which needs the preparsed new value).
MozReview-Commit-ID: 87C6Mjc7ARh
2017-03-16 14:50:41 -04:00
Kerem KAT
0d9b07ec14
Bug 247996 - Add JS console warnings for every script element with an src that fails to load/execute it. r=bzbarsky
...
MozReview-Commit-ID: 4fH6UFqUhfY
2017-03-09 19:54:26 +03:00
Manish Goregaokar
7a6a00898d
Bug 1329093 - Part 4: stylo: Delay SVG mapped attr resolution till later; r=bz
...
MozReview-Commit-ID: 2GvHPg1egjS
2017-03-09 17:46:26 -08:00
Manish Goregaokar
07fc7c5b25
Bug 1329093 - Part 1: stylo: Handle SVG presentation attributes; r=bz
...
MozReview-Commit-ID: 9cymo3c9HIn
2017-03-09 17:46:21 -08:00
Florian Quèze
9d62681259
Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws.
2017-03-08 10:17:52 +01:00
Wes Kocher
9746f81e53
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: FzykkWPQCrq
--HG--
rename : browser/modules/test/browser_UsageTelemetry_content.js => browser/modules/test/browser/browser_UsageTelemetry_content.js
rename : browser/modules/test/browser_UsageTelemetry_content_aboutHome.js => browser/modules/test/browser/browser_UsageTelemetry_content_aboutHome.js
rename : browser/modules/test/browser_UsageTelemetry_searchbar.js => browser/modules/test/browser/browser_UsageTelemetry_searchbar.js
rename : browser/modules/test/browser_UsageTelemetry_urlbar.js => browser/modules/test/browser/browser_UsageTelemetry_urlbar.js
2017-03-01 17:48:44 -08:00
Markus Stange
fa5619d298
Bug 1343436 - Fix filter result for baseFrequency="0" type="fractalNoise". r=longsonr+218550
...
MozReview-Commit-ID: LLAr9ifux98
--HG--
extra : rebase_source : 7e70fa361b2377ba180f96862d19ce22a2725438
2017-03-01 10:03:15 -05:00
Joel Maher
f297f17181
Bug 1339232 - annotate more dom/* moz.build files with BUG_COMPONENT. r=overholt
...
MozReview-Commit-ID: 2HbPxGkrVfv
2017-03-01 08:20:25 -05:00
Masatoshi Kimura
7be7b11a1c
Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
...
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;
MozReview-Commit-ID: AzhtdwJwVNg
--HG--
extra : rebase_source : e8f90249454c0779d926f87777f457352961748d
2017-02-23 06:10:07 +09:00
Xidorn Quan
c12c9d292d
Bug 1340061 part 1 - Use source doc URI for SVG <use> anonymous content. r=bz
...
MozReview-Commit-ID: 2fkDfYh79b
--HG--
extra : rebase_source : 8625243bc7c6120f5a6741f11eb0fccb4f0da8e8
2017-02-16 18:14:46 +11:00
Bobby Holley
b5ec1b1aa2
Bug 1331322 - Move MAY_HAVE_CLASS to mBoolFlags. r=bholley
...
This fits a bit better with the other stuff, and allows us to add our new NAC
bit with the other NAC related bits, which also happens to be a field that
Servo already has easy access to.
--HG--
extra : rebase_source : 52ef902eb3b23dc44cefec899b02c9180b76160c
2017-01-20 18:24:41 -08:00
Phil Ringnalda
d2fa909610
Backed out 4 changesets (bug 1331322) for Android reftest failures in 1169331-1.html and forced-bg-color-outside-visible-region.html
...
Backed out changeset 96c6b5a11284 (bug 1331322)
Backed out changeset 15877d32de7d (bug 1331322)
Backed out changeset 841d608704d7 (bug 1331322)
Backed out changeset 02096c5eb029 (bug 1331322)
2017-02-15 21:24:00 -08:00
Bobby Holley
a15ed0dd31
Bug 1331322 - Move MAY_HAVE_CLASS to mBoolFlags. r=bholley
...
This fits a bit better with the other stuff, and allows us to add our new NAC
bit with the other NAC related bits, which also happens to be a field that
Servo already has easy access to.
--HG--
extra : rebase_source : 52ef902eb3b23dc44cefec899b02c9180b76160c
2017-01-20 18:24:41 -08:00
Cameron McCormack
f63cdecde2
Bug 1297899 - Part 6: Move RestyleManagerHandle functionality into RestyleManager. r=bholley
...
MozReview-Commit-ID: 7lsti0bGzNr
--HG--
extra : rebase_source : 13c64026190afe5de25f540adb6deea9f518149f
2017-02-13 11:21:33 +08:00
dmu@mozilla.com
8527839fee
Bug 1302341 - Part 1: SVGAElement focus checks tabIndex first and to be 0 by default; r=heycam
...
MozReview-Commit-ID: BjT03C3aYUK
--HG--
extra : rebase_source : 1d0af036b35665f9eb8e394ded829ceb02d24854
2016-09-28 02:21:50 +00:00
Sylvestre Ledru
21e7d4ff3c
Bug 1335324 - Fix a -Wmax-unsigned-zero warnings (std::max(unsigned int, 0u) r=jwatt
...
MozReview-Commit-ID: BYraLQCG24S
--HG--
extra : rebase_source : 869c42d589176d8e844a873aa16e9826750e593e
2017-02-06 16:21:54 +01:00
dmu@mozilla.com
114603b64b
Bug 1302340 - Allow SVGElement to be focusable when tabindex is -1; r=heycam
...
MozReview-Commit-ID: JMTVxYxQF80
--HG--
extra : rebase_source : c42ec2b70b42a1ddd7ec84deca3ce2f8b0479ba3
2016-09-28 12:05:28 +00:00
Mantaroh Yoshinaga
cbf08f5f05
Bug 1322970 - Use primary frame for checking throttle instead of using style context. r=dholbert,hiro
...
This changeset will skip finding the first SMIL animation function to affect the sandwich from multiple functions if element hasn't primary frame when composing attributes.
This mean that target element's animation don't need to animate in the following cases.
- ancestor elements has display:none attribute.
- target element have display:none attribute.
- ancestor element's tag produces a non-rendering subtree, by definition (like <desc>).
MozReview-Commit-ID: 253qTpBLc8L
--HG--
extra : rebase_source : c6f0eff440fa5448fc28e5283be68b6e33335b9e
2017-02-02 15:23:22 +09:00
Cameron McCormack
590058f927
Bug 1324669 - stylo: Downgrade SMIL assertion even further to a non-test-failing warning. r=me
...
MozReview-Commit-ID: 5fk6C9qaOgW
2017-01-31 17:37:08 +01:00
Sebastian Hengst
ed5bd31f9b
Backed out changeset ad45a3da5e4a (bug 1324669) for Windows build bustage: OverflowChangedTracker.h(44). r=backout on a CLOSED TREE
2017-01-31 17:32:12 +01:00
Cameron McCormack
946b5c3633
Bug 1324669 - stylo: Downgrade SMIL assertion even further to a non-test-failing warning. r=me
...
MozReview-Commit-ID: 5fk6C9qaOgW
2017-01-31 23:36:12 +08:00
Cameron McCormack
9c4ea5685f
Bug 1334768 - stylo: Back out 800030115d2e and 404506488cfb for being completely wrong due to bug 1334938.
...
MozReview-Commit-ID: 8CGTqmtlguT
2017-01-30 16:49:54 +08:00
Cameron McCormack
7805d4716e
Bug 1334768 - stylo: Test expectation adjustments for 2017-01-29 merge.
...
MozReview-Commit-ID: FFmvs6SHIwW
2017-01-29 15:31:56 +08:00
Florian Quèze
be4dbae285
Bug 1334199 - script-generated patch to omit getComputedStyle's second argument when it's falsy, r=jaws.
2017-01-27 10:51:02 +01:00
vincentliu
961a7cb243
Bug 1329849
- Add crash tests. r=dholbert
2017-01-19 21:08:05 +08:00
vincentliu
795c5d6b58
Bug 1329849
- In SVG filter lighting code, bail out if kernelUnitLength is negative or zero. r=dholbert
2017-01-19 21:07:25 +08:00
Ryan VanderMeulen
78cc07597f
Merge m-c to autoland. a=merge
2017-01-17 11:32:39 -05:00
Florian Quèze
85611a7b6d
Bug 1331081
- script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
...
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Cameron McCormack
4f17cad8f0
Bug 1330236 - Compute SVG getNumberOfChars() quicker in simple cases. r=longsonr+218550
...
MozReview-Commit-ID: FgwR9dxTefx
--HG--
extra : rebase_source : 5b1ba3aa727cdd278a4b40c24231ca446b8bc45d
2017-01-17 13:45:43 +08:00
Cameron McCormack
9f99f387ac
Bug 1324663 - stylo: Adjust expectations now that we've disabled style context tree structure assertions. r=me
...
MozReview-Commit-ID: EORVNMWW7gu
2017-01-11 20:35:12 +08:00
Daniel Holbert
71b36d73b5
Bug 1329045 part 2: Convert some global variables to local variables, in test_use_with_hsts.html. r=xidorn
...
(Before we introduced async/await in this test, some of these needed to be
global, because they were used in several callbacks.)
MozReview-Commit-ID: 7mDzmUx1jQ
--HG--
extra : rebase_source : 6f3a2f58c8abc643b09258b54141d93658183519
2017-01-06 13:03:22 -08:00
Daniel Holbert
09339cd3aa
Bug 1329045 part 1: Use async/await to simplify callbacks in mochitest test_use_with_hsts.html. r=xidorn
...
MozReview-Commit-ID: 3qMTOl3fQzg
--HG--
extra : rebase_source : 6492fe98a9888a3123fa902a14462ddbfeca1d1b
2017-01-06 13:03:21 -08:00
Cameron McCormack
babad063ff
Bug 1328832
- Part 2: Rename mozFlushType to mozilla::FlushType and make it an enum class. r=bzbarsky
...
MozReview-Commit-ID: D3fIngSHSsl
2017-01-05 15:31:56 +08:00
Olli Pettay
0364dbc792
Bug 1326507, remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS, r=mccr8
...
--HG--
extra : rebase_source : 3ae1207308de120b7299b13ecaa95dd1612b3459
2017-01-03 21:47:55 +02:00
Boris Zbarsky
66519f68ee
Bug 1326388 part 2. Switch nsSVGElement from storing an nsStyleRule to storing a DeclarationBlock to represent its SMIL mapped attributes. r=dbaron
2016-12-31 01:11:05 -08:00
Boris Zbarsky
ebb78498d2
Bug 1326388 part 1. Switch nsSVGElement from storing a StyleRule to storing a DeclarationBlock to represent its mapped attributes. r=dbaron
...
The current setup complicates things by causing the existence of StyleRule
instances that have a null GetDOMRule(), which
inDOMUtils::GetCSSStyleRulesrelies on to not return the relevant rules. Since
we want to get rid of GetDOMRule(), better to not have a StyleRule there in the
first place.
2016-12-31 01:10:45 -08:00
Robert Longson
89c77adf8e
Bug 1325487 - Improve SVGContentUtils::ComputeNormalizedHypotenuse and use it more r=dholbert
2016-12-23 17:28:13 +00:00
Cameron McCormack
d4d8ba1d5f
Bug 1324624 - stylo: Mark currently failing crashtests with asserts-if(stylo,...). r=xidorn
...
MozReview-Commit-ID: 7iiwRwiQ8s4
2016-12-21 15:42:36 +08:00
Robert Longson
1bae76206e
Bug 1239100 - Implement SVGGeometryElement interface. r=cam r=peterv
...
--HG--
rename : dom/svg/nsSVGPathGeometryElement.cpp => dom/svg/SVGGeometryElement.cpp
rename : dom/svg/nsSVGPathGeometryElement.h => dom/svg/SVGGeometryElement.h
rename : dom/svg/nsSVGPolyElement.cpp => dom/svg/SVGPolyElement.cpp
rename : dom/svg/nsSVGPolyElement.h => dom/svg/SVGPolyElement.h
rename : layout/svg/nsSVGPathGeometryFrame.cpp => layout/svg/SVGGeometryFrame.cpp
rename : layout/svg/nsSVGPathGeometryFrame.h => layout/svg/SVGGeometryFrame.h
2016-12-18 11:11:47 +00:00
Sebastian Hengst
cdeb642a1b
Backed out changeset 0b44e8715bf5 (bug 1239100) for build bustage (SVGGeometryElement.webidl missing). r=backout
...
--HG--
rename : dom/svg/SVGGeometryElement.cpp => dom/svg/nsSVGPathGeometryElement.cpp
rename : dom/svg/SVGGeometryElement.h => dom/svg/nsSVGPathGeometryElement.h
rename : dom/svg/SVGPolyElement.cpp => dom/svg/nsSVGPolyElement.cpp
rename : dom/svg/SVGPolyElement.h => dom/svg/nsSVGPolyElement.h
rename : layout/svg/SVGGeometryFrame.cpp => layout/svg/nsSVGPathGeometryFrame.cpp
rename : layout/svg/SVGGeometryFrame.h => layout/svg/nsSVGPathGeometryFrame.h
2016-12-18 11:42:51 +01:00
Robert Longson
783bfbb1e4
Bug 1239100 - Implement SVGGeometryElement interface. r=cam r=peterv
...
--HG--
rename : dom/svg/nsSVGPathGeometryElement.cpp => dom/svg/SVGGeometryElement.cpp
rename : dom/svg/nsSVGPathGeometryElement.h => dom/svg/SVGGeometryElement.h
rename : dom/svg/nsSVGPolyElement.cpp => dom/svg/SVGPolyElement.cpp
rename : dom/svg/nsSVGPolyElement.h => dom/svg/SVGPolyElement.h
rename : layout/svg/nsSVGPathGeometryFrame.cpp => layout/svg/SVGGeometryFrame.cpp
rename : layout/svg/nsSVGPathGeometryFrame.h => layout/svg/SVGGeometryFrame.h
2016-12-18 09:54:02 +00:00
cku
478ffe5cd0
Bug 1322286 - Part 2. Crash test. r=mstange
...
MozReview-Commit-ID: 88V7hi8DoMv
--HG--
extra : rebase_source : ba60693de0628f051af21fedd3cae93ab9bb4282
2016-12-06 16:13:22 -10:00
Xidorn Quan
92e0c75164
Bug 1323153 - Not include ElementInlines in headers. r=smaug
...
MozReview-Commit-ID: Gusow6LTiJI
--HG--
extra : rebase_source : 89f6c2b02dda7d216dfe6ff4ed27e8d70cd064f3
2016-12-13 18:11:04 +11:00
Timothy Nikkel
501b1c2574
Bug 1317562. Allow flags to be passed to StartDecoding for the sole purpose of allowing async notifications to be requested. r=aosmond
2016-11-26 01:56:26 -06:00
Timothy Nikkel
884381079d
Bug 1317556. Make SVGFEImageElement use async image notifications when painting. r=aosmond
2016-11-22 19:32:03 -06:00
Phil Ringnalda
ae361307c7
Merge m-c to autoland
2016-11-17 20:11:25 -08:00
Ajit
59924733b3
Bug 1316511 - Remove friend class nsSVGPathFrame declaration in SVGPathElement as it does not exist anymore r=Ehsan
...
MozReview-Commit-ID: 9TzvFucJVXK
--HG--
extra : rebase_source : daeef86a65fe9bb5be27b82616875c090045c30a
2016-11-16 21:20:27 +00:00
Stone Shih
1ed10ff082
Bug 1305458 Part1: Rename nsIDOMEventTarget::PreHandleEvent to nsIDOMEventTarget::GetEventTargetParent. r=smaug
...
MozReview-Commit-ID: FM3vDUyLOCb
--HG--
extra : rebase_source : 5a513af84718a6d591f77437a0704984c8fc2b67
2016-10-21 10:11:07 +08:00
Olli Pettay
cb803253a5
bug 1306591, add secondary event queue to let high priority messages to be processed sooner, r=billm
...
--HG--
extra : rebase_source : 2ce6e06783e399e787d0445943f9f39bcef1cc22
2016-11-08 14:05:45 +02:00
Sebastian Hengst
95292d5468
Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/svg. r=RyanVM
...
MozReview-Commit-ID: J5MM3O2rcwY
--HG--
extra : rebase_source : 022eb1a856d33e98d707cd12b42b73a9ddcf05ae
2016-11-05 11:29:18 +01:00
Ryan VanderMeulen
2020c660de
Bug 1241898 - Fix SVGFilteElement typo in test_SVGUnitTypes.html.
2016-10-23 18:25:43 -04:00
Robert Longson
a91673df2c
Bug 1241898 - Make SVGUnitTypes [NoInterfaceObject]. r=cam r=peterv
...
--HG--
rename : dom/webidl/SVGUnitTypes.webidl => dom/webidl/SVGUnitTypeValues.webidl
2016-10-23 22:20:11 +01:00
Xidorn Quan
05ef8466c6
Bug 1309109 part 5 - Store ServoDeclarationBlock rather than RawServoDeclarationBlock in nsAttrValue. r=heycam
...
MozReview-Commit-ID: HWqgjwif1qF
--HG--
extra : source : cf3b1baff3d1d6233c72e32cf01cd28a2b344ebf
2016-10-18 15:29:03 +11:00
Edgar Chen
64cc70e197
Bug 1308069 - Clear pending error event fired by src="" case if src changed before it fired. r=bz
...
MozReview-Commit-ID: B8f975mZNN9
--HG--
extra : rebase_source : b44b969c733160a9e96139b6b55ac60fb140e478
2016-10-06 12:30:35 +08:00
cku
818c1c0974
Bug 1302779 - Part 1. Resolve a local fragment against the current document that relative URLs are resolved against. r=heycam
...
MozReview-Commit-ID: 2vJDnfzoPiC
--HG--
extra : rebase_source : 3c43bd335caa918ac32f3ba1979f822db5319b11
2016-09-20 14:13:13 +08:00
Robert Longson
22f105c045
Bug 1293786 - Part 1: Remove SVGDocument interface. r=heycam,smaug
...
MozReview-Commit-ID: 6AOtRtB7Tvl
2016-09-29 09:30:49 +08:00
Robert Longson
7e51b6806f
Bug 1293786 - Part 0: Fix existing mochitest. r=heycam
...
MozReview-Commit-ID: 3MiiHMiCS2n
2016-09-29 09:29:34 +08:00
Phil Ringnalda
40fd25db11
Backed out 3 changesets (bug 1293786) for wpt unexpected passes and fails
...
Backed out changeset f8911c81ee9a (bug 1293786)
Backed out changeset 8cba8a0a730c (bug 1293786)
Backed out changeset 5c60775f445e (bug 1293786)
2016-09-28 20:39:16 -07:00
Robert Longson
baaeeaf6ca
Bug 1293786 - Part 1: Remove SVGDocument interface. r=heycam,smaug
...
MozReview-Commit-ID: 6AOtRtB7Tvl
2016-09-29 09:30:49 +08:00
Robert Longson
8f8d3b19ac
Bug 1293786 - Part 0: Fix existing mochitest. r=heycam
...
MozReview-Commit-ID: 3MiiHMiCS2n
2016-09-29 09:29:34 +08:00
Xidorn Quan
2f49a48a09
Bug 1304302 part 10 - Replace all uses of StyleSheetHandle. r=heycam
...
This commit is generated by the following commands with some minor
manual adjustment:
find . \( -name '*.h' -or -name '*.cpp' \) -not -path './layout/style/StyleSheet*' -exec sed -i -b \
-e '/^\(#include\|using\)/s/StyleSheetHandle/StyleSheet/g' \
-e 's/\(mozilla::\)\?StyleSheetHandle::RefPtr/RefPtr<\1StyleSheet>/g' \
-e 's/StyleSheetHandle()/nullptr/g' \
-e 's/->AsStyleSheet()//g' \
-e 's/StyleSheetHandle/StyleSheet*/g' {} +
sed -i -b 's/sheet->AsVoidPtr()/sheet.get()/' layout/style/Loader.cpp
sed -i -b 's/AsHandle()/this/' layout/style/StyleSheet.cpp
MozReview-Commit-ID: 7abdvlKHukd
--HG--
extra : source : e5682242db07203b5a91810fe1e243c955310588
2016-09-26 22:03:25 +10:00
cku
8fc664c532
Bug 1304706 - Replace nsSVGUseElement by SVGUseElement in comment. r=dholbert; DONTBUILD
...
MozReview-Commit-ID: 4rfjuQ9M3PB
--HG--
extra : amend_source : 6b9ddbb294c4333add9b1063da1c1aaa3248d3a2
2016-09-22 22:33:42 +08:00
Nicolas Silva
56e5119c61
Bug 1301027 - Remove the matrix * point operator and replace it with TransformPoint methods. r=Bas
2016-09-08 18:26:03 +02:00
Boris Zbarsky
e664d8bcd3
Bug 1299373. Scripts with an empty src attribute should not execute. r=bkelly
2016-09-07 14:21:36 -04:00
cku
52058e0fbc
Bug 1289011 - Part 3. Handle view-box. r=heycam
...
MozReview-Commit-ID: 3GsivsTYPYK
--HG--
extra : rebase_source : 814a758605418893de60c2cb677ff4ee06671fe8
2016-08-30 10:27:30 +08:00
Phil Ringnalda
51211ec1af
Backed out 9 changesets (bug 1289011) for Android failures in select-fieldset-legend-4.html
...
Backed out changeset 296f8c0b77e1 (bug 1289011)
Backed out changeset 869997798534 (bug 1289011)
Backed out changeset 3f1f0bc8c878 (bug 1289011)
Backed out changeset b3da5e487c2c (bug 1289011)
Backed out changeset fd404df10eed (bug 1289011)
Backed out changeset 8e3fc6d5237f (bug 1289011)
Backed out changeset 062cae507676 (bug 1289011)
Backed out changeset 43daa18916ce (bug 1289011)
Backed out changeset 632cf28211de (bug 1289011)
2016-09-03 13:32:40 -07:00