John Schoenick
3a1354f5ba
Backout a6f040934c99 (Bug 548133) for reftest orange
2012-09-05 14:58:17 -07:00
John Schoenick
0cb7e069a2
Bug 548133 - Remove special handling for object 'pluginurl' param. r=dolske,josh
2012-09-05 14:02:06 -07:00
Chris Pearce
d608c99760
Bug 788387 - Add -moz-box-sizing:border-box to :-moz-full-screen. r=roc
2012-09-05 15:54:11 +12:00
Daniel Holbert
c62fdc18d3
Bug 763689 patch 3: Support min-height:auto in computed style, and add special cases as necessary wherever it's read. r=dbaron
2012-09-04 16:26:11 -07:00
Daniel Holbert
bb17bc6aff
Bug 763689 patch 2: Support min-width:auto in computed style, and add special cases as necessary wherever it's read. r=dbaron
2012-09-04 16:26:10 -07:00
Aryeh Gregor
33fe5589ca
Bug 782594 - Use NS_FAILED instead of boolean test (content/, js/xpconnect/, layout/); r=bz
2012-08-07 17:58:47 +03:00
Randell Jesup
65539ef89c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Matt Brubeck
ad74b89481
Bug 779527 - Use the physical device resolution for media queries on mobile [r=dbaron]
2012-08-31 13:29:47 -07:00
L. David Baron
d132f44339
Don't accept the third argument to transform-origin when 3-D transforms aren't enabled. (Bug 786706) r=mattwoodrow
2012-08-29 18:27:01 -07:00
L. David Baron
0b49235e79
Make author !important rules override CSS animations. (Bug 783714) r=bzbarsky
...
This was resolved at the CSS Working Group meeting on 2012-08-15.
2012-08-29 18:27:01 -07:00
L. David Baron
c9c03a76e3
Remove now-unneeded code from nsComputedDOMStyle. (Bug 93725, patch 3) r=jdaggett
2012-08-29 18:27:01 -07:00
L. David Baron
190f924b06
Add some missing values to test as shown by code coverage data on nsComputedDOMStyle.cpp . No bug.
2012-08-29 18:27:01 -07:00
Boris Zbarsky
084717cd7b
Bug 732209 part 6. Allow web pages to access cross-origin stylesheets if the CORS headers say so. r=dbaron,sicking
...
When gaining such access, the web page resets the stylesheet to its principal, because it can now edit the sheet.
2012-08-28 13:10:09 -04:00
Boris Zbarsky
61bf222c11
Bug 732209 part 5. Enforce CORS on stylesheet loads as needed. r=sicking
2012-08-28 13:10:08 -04:00
Boris Zbarsky
ba7b968a58
Bug 732209 part 4. Propagate the CORS state throughout the CSS loading process. r=sicking,dbaron
2012-08-28 13:10:08 -04:00
Boris Zbarsky
354cdcc7f6
Bug 732209 part 3. Communicate the CORS state of preloads to the CSS loader. r=sicking,hsivonen
2012-08-28 13:10:08 -04:00
Boris Zbarsky
23f0b64faa
Bug 732209 part 2. Communicate the CORS state of style link loads to the CSS loader. r=sicking
2012-08-28 13:10:07 -04:00
Paul Adenot
965ed92866
Bug 761393 - Cache the gfxPatterns using an nsExpirationTracker and an hashtable. r=dbaron
2012-08-26 21:09:46 -07:00
Paul Adenot
2ff8ad5b57
Bug 761393 - Add a method to hash an nsStyleCoord. r=dbaron
2012-08-26 21:08:32 -07:00
Raphael Catolino
5e69aa6e3c
Bug 781313 - Move the euclidGcd and lcm algos form nsStyleAnimation.cpp to mfbt/MathAlgorithms.h r=dbaron,luke
2012-08-26 22:58:23 -03:00
David Zbarsky
b20ba33014
Bug 785657 - Enable async animations in content processes r=cjones
2012-08-25 21:27:28 -04:00
David Zbarsky
18258768e4
Bug 785648 - Improve OMTA logging r=cjones
2012-08-25 21:27:28 -04:00
Yury
4d8df099e9
Bug 776208 - Plugin preview overlay. r=johns,jaws,margaret, sr=joshmoz
2012-08-25 17:18:44 -04:00
David Zbarsky
869041faf0
Fix virtual dtor warning, no bug, blanker r=bz
2012-08-25 12:33:51 -04:00
David Zbarsky
e3978b50ba
Bug 780692 Part 0: Make sure frames that have async animations are marked as having active layers r=roc
2012-08-25 10:52:30 -04:00
David Zbarsky
09705d7fb3
Fix a logging message, no bug, r=me
2012-08-25 00:10:47 -04:00
Boris Zbarsky
052e7b0c56
Bug 753517 part 4. Set up auto-generation of CSS2Properties.webidl from nsCSSPropList.h and enable Paris bindings for CSSStyleDeclaration and CSS2Properties. r=khuey,peterv,dbaron
2012-08-23 21:08:09 -07:00
Boris Zbarsky
688a8b41eb
Bug 753517 part 3. Expose the API needed for Paris bindings on nsDOMCSSDeclaration and nsICSSDeclaration. r=dbaron,peterv
2012-08-23 21:08:08 -07:00
Benjamin Smedberg
75b52bafcd
Revert bug 776208 for semi-consistent failures:
...
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Test 1a, the overlay about: content is expected
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: chrome://mochitests/content/browser/browser/base/content/test/plugin_test.html
CLOSED TREE
2012-08-24 13:08:15 -04:00
Yury
66d7f566fa
Bug 776208 - Plugin preview overlay. r=johns,jaws,margaret, sr=joshmoz
2012-08-24 16:18:16 -04:00
David Zbarsky
aeca3e5aa7
Log when we can't use async animations due to pseudos, no bug, r=cjones
2012-08-24 15:08:18 -04:00
Kyle Huey
8443a7a8f1
Bug 783162: Make mapped attributes hold the image alive. r=bz
...
The nsCSSValue in nsGenericHTMLElement::MapBackgroundInto is a temporary. This causes a problem after Bug 697230 landed, because the nsCSSValue::Image we put into that value is destroyed once we're done doing style stuff. Previously the nsImageLoader would grab the request off the nsCSSValue::Image and hold it alive. Bug 697230 changed the behavior here; now when the nsCSSValue::Image is destroyed it tells the image loader to drop the request. The result is that all the references to the request are dropped and the frame is never told it has a background.
The solution is to keep the nsCSSValue::Image alive longer. This patch adds two new types of nsAttrValue. The first is an nsCSSValue::URL. A ParseBackgroundAttribute method is added on nsGenericHTMLElement that the relevant elements (body/td/th/table/tr/tbody/thead/tfoot) call that parses background into an nsCSSValue::URL. The second is an nsCSSValue::Image. nsGenericHTMLElement::MapBackgroundInto attempts to convert the nsCSSValue::URL into an nsCSSValue::Image by kicking off the image load. The result is that image loads are only started when the element is actually visible. This also mirrors the way background-image works. This also allows us to fix two longstanding bugs in this code. Since MapBackgroundInto doesn't have a pointer to the actual element, it relied on grabbing the principal of the document. Now we can grab the principal of the node in ParseBackgroundAttribute. MapBackgroundInto also has no way to get at the element's base URI (to honor xml:base), which is now possible in ParseBackgroundAttribute.
nsCSSValue::[Image|URL] have also been moved to be mozilla::css::[Image|URL]Value. nsAttrValue.h is included in external linkage code, so it can't include nsCSSValue.h to get the declarations of nsCSSValue::[Image|URL], and nested classes can't be forward declared. Moving the classes to a namespace solves the problem.
Finally some old inoperative quirks mode code was removed. This code has done nothing since Bug 273078 was landed in 2004.
2012-08-24 10:50:49 -07:00
Benjamin Smedberg
a859c5ef74
Revert bug 776208 for semi-consistent failures:
...
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Test 1a, the overlay about: content is expected
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: chrome://mochitests/content/browser/browser/base/content/test/plugin_test.html
--HG--
extra : rebase_source : e000988677d466b4796c5b2a51968f586743e6db
2012-08-24 13:08:15 -04:00
Yury
a1e1a451e4
Bug 776208 - Plugin preview overlay. r=johns,jaws,margaret sr=joshmoz
...
--HG--
extra : rebase_source : f9b13bbda1318dbdaa71b04b3e04736655e65081
2012-08-23 17:11:51 -04:00
Ehsan Akhgari
e368dc9c85
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Ed Morley
5cfd470c00
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-08-22 10:28:02 +01:00
David Zbarsky
e37c2138c1
Move mStyleRule and mStyleRuleRefreshTime from ElementAnimations/ElementTransitions to CommonElementAnimationData, no bug, r=dbaron over irc
2012-08-21 21:48:47 -04:00
David Zbarsky
05b13cba8d
Bug 784239 - Perform async animations even when not all properties can be asyncified r=roc
2012-08-21 21:48:47 -04:00
Olli Pettay
29137b6a72
Bug 783015 - Chrome refreshdriver runs all the time, r=khuey
2012-08-21 16:14:06 -07:00
L. David Baron
a1c74cb0bc
Treat argument of :-moz-locale-dir() case-insensitively. (Bug 741293) r=smontagu
2012-08-20 22:41:47 -07:00
David Zbarsky
8ec03cd866
Bug 783893 - Clean up async animation code r=roc
2012-08-21 00:06:47 -04:00
L. David Baron
16cea699bc
Add missing SkipUntil call in @supports parsing. (Bug 782401) r=heycam
...
Fixes http://test.csswg.org/source/contributors/opera/submitted/css3-conditional/at-supports-030.html
2012-08-20 19:23:32 -07:00
L. David Baron
31b5c3639b
Track whether nsStyleVisibility::mLanguage came from explicit information in the document. (Bug 702121, patch 1) r=jfkthame
2012-08-20 19:23:32 -07:00
L. David Baron
54799a245c
Accept unitless lengths in quirks mode for bottom, just as for left/top/right. (Bug 776591) r=bzbarsky
2012-08-20 19:23:31 -07:00
Kyle Huey
342d6878b6
Bug 783379: Remove unnecessary (wrong) optimization of image decoding notifications. r=roc
...
--HG--
extra : rebase_source : d485d0f5bbe35dc969712ca50654c8671b033c80
2012-08-20 17:14:04 -07:00
Ian Melven
01a802da01
Bug 341604 - modify CheckMayLoad to allow sandboxed workers to load blob and data URIs r=jst
2012-08-20 11:34:33 -07:00
Ed Morley
31a0f2b067
Merge mozilla-central to mozilla-inbound
2012-08-15 19:00:48 +01:00
Kyle Huey
2fa3cc6685
Bug 780618: Follow up to switch to nsError.h in merged patches. r=me
2012-08-15 06:52:06 -07:00
Kyle Huey
0cc1845191
Merge m-c to b-s.
2012-08-15 06:25:20 -07:00
Kyle Huey
06324078f4
No bug: Eradicate some nsnulls.
2012-08-14 13:34:20 -07:00
Kyle Huey
c95d073d8c
Merge m-c to b-s.
2012-08-14 11:14:40 -07:00
Kyle Huey
20fdae0e99
Bug 697230: Part 3 - Make style images block onload. r=bz
2012-08-13 16:04:17 -07:00
Kyle Huey
2e07e6f8c2
Bug 697230: Part 1 - Centralize style image observers. r=bz
2012-08-13 15:04:19 -07:00
Honza Bambas
15daadba69
Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking
2012-08-10 22:44:11 -04:00
Aryeh Gregor
cafad5fcb5
Bug 782252 - Cast some nsresult to PRUint32; r=ehsan
2012-08-09 11:36:40 +03:00
Aryeh Gregor
719dcb2097
Bug 782252 - Change named constants to correct types; r=ehsan
2012-08-07 18:11:35 +03:00
Robert O'Callahan
295f1c1b81
Backing out f89374c446c2 for build bustage (bug 691591)
2012-08-10 23:55:51 +12:00
Robert O'Callahan
72c3ab6e67
Bug 691651. When an element changes between having a transform and not having one, don't reframe if we don't need to. r=dbaron
...
--HG--
extra : rebase_source : 4bc4f5fc7b5c9e621518e9f8c574259ea0de3b0a
2012-08-10 23:16:49 +12:00
Robert O'Callahan
d2d218e577
Bug 691651. When an element changes between having a transform and not having one, don't reframe if we don't need to. r=dbaron
...
--HG--
extra : rebase_source : ed990c17d2501ea5f4d09dea56baeada41cd3f35
2012-08-10 23:16:49 +12:00
Aryeh Gregor
4e199a1679
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Simon Montagu
7b0bd7bf8b
Bug 562169. Add support for :dir(ltr/rtl) CSS selector, layout/style part, r=bz
2012-08-09 20:37:58 -07:00
Matt Brubeck
3cfaa1db23
Back out bug 562169 because of Dromaeo DOM regressions
...
Backed out changeset 841cd6e1e585 (bug 562169)
Backed out changeset e226e413dd27 (bug 562169)
Backed out changeset 9c24b7287c5b (bug 562169)
2012-08-08 08:14:48 -07:00
Cameron McCormack
444f2c079a
Bug 655877 - Part 27: Ignore text-shadow in SVG text frames. r=roc
2012-08-08 21:37:13 +10:00
Simon Montagu
aed3f621eb
Add support for :dir(ltr/rtl) CSS selector, layout/style part. Bug 562159, r=bz
2012-08-07 21:44:24 -07:00
Daniel Holbert
6a1553fbaf
Bug 666041 patch 4: Mochitest for flexbox layout. r=dbaron
2012-08-07 14:32:24 -07:00
Simon Montagu
5d272daa1b
Implement the new CSS property value unicode-bidi: isolate-override. Bug 774335, r=dbaron
2012-08-07 01:42:46 -07:00
Simon Montagu
4ddb969121
Changes to tests for bug 774335, r=dbaron
2012-08-07 01:42:45 -07:00
David Zbarsky
a66260e4cc
Bug 780342 - Don't allow compositor-driven animation of frames that are not prerendered, provide diagnostics for when that happens r=cjones
2012-08-06 16:33:23 -04:00
Aryeh Gregor
2fbc523d8e
Bug 780469 - Reduce unnecessary includes in some content/ header files; r=bz
2012-08-06 15:02:08 +03:00
Boris Zbarsky
5142e32171
Bug 753517 part 2.75. Fix the QI impls to not lie. r=bustage
2012-08-06 01:24:43 -04:00
David Zbarsky
03039446fa
[Bug 780428] Don't include nsIFrame.h in places where it's not necessary r=roc
2012-08-05 23:00:56 -04:00
Boris Zbarsky
bfbcf21932
Bug 753517 part 2.5. Include nsWrapperCacheInlines so things will actually link correctly. r=bustage
2012-08-05 22:55:18 -04:00
Boris Zbarsky
faa7bcc004
Bug 753517 part 2. Make all CSS declarations wrappercached and make them correctly handle preserved wrappers. r=mccr8,peterv,smaug,dbaron
2012-08-05 22:16:30 -04:00
Boris Zbarsky
c4ec20c33e
Bug 753517 part 1. Make GetParentObject() on CSS declarations return a useful nsINode if possible. r=peterv,dbaron
2012-08-05 22:14:52 -04:00
Boris Zbarsky
e62cd1b722
Bug 765588. Make CSSFontFaceStyleDecl an nsICSSDeclaration. r=dbaron
2012-08-05 22:14:47 -04:00
David Zbarsky
f26a2c38bd
Bug 780340 - Allow compositor-driven animations of visibility r=mattwoodrow
2012-08-05 13:03:43 -04:00
Aryeh Gregor
612bd2f8d9
Bug 732153 part 1 - Computed transform should be 'none' if there's no transform, even if backface-visibility or transform-style is set; r=dbaron
2012-07-05 10:45:09 +03:00
Cameron McCormack
209745005d
Bug 655877 - Part 21: Avoid assertions when nsStyleContext::GetVisitedDependentColor is called for an SVG paint property. r=dbaron
2012-08-05 11:01:19 +10:00
Ms2ger
35aaf6467b
Bug 777306 - Remove NS_NewHTMLStyleSheet; r=dbaron
2012-08-04 09:44:01 +02:00
Ms2ger
44c3e2a825
Bug 777293 - Remove NS_NewCSSStyleSheet; r=dbaron
2012-08-04 09:44:01 +02:00
Jonathan Kew
22fe279335
bug 721750 - support text-shadow property on ::-moz-selection. r=dbaron
2012-08-04 19:52:21 +01:00
Mike Hommey
70d7c821af
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Ed Morley
f4181983a1
Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE
2012-08-04 18:05:15 +01:00
David Zbarsky
0d68b46a25
Bug 780340 - Allow compositor-driven animations of visibility r=mattwoodrow
2012-08-04 07:03:47 -07:00
Ms2ger
97155ba331
Merge m-c to m-i.
2012-08-04 13:02:15 +02:00
Mike Hommey
03af8b0c50
Backout changeset 2ef51674316a (bug 774032 bonus) for various Mochitest bustages on a CLOSED TREE
2012-08-04 10:38:41 +02:00
Cameron McCormack
1af15dd5c3
Bug 780337 - CSSSupportsRule serialization test fixup. r=burning
2012-08-04 18:08:39 +10:00
Ms2ger
89697d3c09
Bug 777306 - Remove NS_NewHTMLStyleSheet; r=dbaron
2012-08-04 09:44:01 +02:00
Ms2ger
94af4ac7c8
Bug 777293 - Remove NS_NewCSSStyleSheet; r=dbaron
2012-08-04 09:44:01 +02:00
Cameron McCormack
e67e975977
Bug 778600 - Indent closing brace when listing GroupRules. r=dbaron
2012-08-04 17:07:03 +10:00
Cameron McCormack
f33969b29e
Bug 780337 - @supports rule should not parse if property value is empty. r=dbaron
2012-08-04 17:07:03 +10:00
Mike Hommey
7096160830
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 08:48:56 +02:00
David Zbarsky
b0f5b7c4c7
Bug 779385 - Help CSS authors diagnose why animations aren't async r=cjones
2012-08-02 23:32:13 -07:00
Cameron McCormack
7670328c6c
Bug 655877 - Part 16: Treat all values of display other than 'none' as 'inline' in SVG text frames. r=roc
2012-08-02 21:38:51 +10:00
Cameron McCormack
5e22f14219
Bug 655877 - Part 15: Don't treat SVG text frames as being positioned. r=roc
2012-08-02 21:38:50 +10:00
Cameron McCormack
d7e9a93257
Bug 655877 - Part 14: Ignore float in SVG text frames. r=roc
2012-08-02 21:38:49 +10:00
Cameron McCormack
c0e5b04602
Bug 655877 - Part 11a: Ensure we reflow SVG text when dominant-baseline changes. r=roc
2012-08-02 21:38:48 +10:00
Cameron McCormack
ffe1f6393f
Bug 655877 - Part 3: Add a frame state bit and anonymous box pseudo for SVG text frames. r=roc
2012-08-02 21:38:46 +10:00
Cameron McCormack
1528758ac5
Bug 649740 - Implement @supports. r=dbaron,bz
2012-08-02 10:32:12 +10:00
David Zbarsky
c6bc4bc722
Bug 755084 Part 3: Move checks for whether to animate opacity and transforms on the compositor thread to nsLayoutUtils, and make them also check whether the compositor is actually running r=cjones,dbaron
2012-07-31 10:28:22 -07:00
David Zbarsky
88efdd2ce1
Bug 768440 Part 2: Animate CSS Transitions on the compositor r=roc,dbaron
2012-07-31 10:28:22 -07:00
David Zbarsky
0a3b3bfe6a
Bug 768440 Part 1: Move ElementTransitions and ElementPropertyTransition to the header r=dbaron
2012-07-31 10:28:21 -07:00
David Zbarsky
bf4f8d3c97
Bug 755084 Part 2: Perform CSS animations of transform and opacity on the compositor r=roc, dbaron
2012-07-31 10:28:21 -07:00
David Zbarsky
609441e255
Bug 755084 Part 1: Move ElementAnimations, ElementAnimation, AnimationProperty, and AnimationPropertySegment classes to the header file. r=dbaron
2012-07-31 10:28:21 -07:00
Scott Johnson
63993f05d9
Bug 764567: Implement column-fill part of CSS3 multicol spec, now with regression fixes [r=roc].
2012-07-31 11:21:19 -05:00
Aryeh Gregor
284a1fe866
Bug 734953 - Restore transform: skew() support; r=dbaron
2012-07-30 16:48:02 +03:00
Matt Woodrow
d6d762688c
Bug 779010 - Use nsStyleCoord equality operator to compare nsStyleSides and nsStyleCorners. r=dbaron
2012-07-30 19:25:28 -07:00
Ryan VanderMeulen
b8013885dc
Merge m-c to inbound.
2012-07-30 20:14:22 -04:00
Mark Finkle
ecceaf8977
Backout 169ff207ed19, a34baed70c1b, f9ccdd490bd7, 39550ed860e6, 2194a2dd66b2, 908eb2e26843, a76e0a267f26 due to mobile viewport bustage (bug 778580)
2012-07-30 14:36:12 -04:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Aryeh Gregor
c81630fddb
Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan
2012-07-27 16:59:29 +03:00
Ehsan Akhgari
3ad40dbf10
Merge the nullptr conversion from mozilla-central into mozilla-inbound
2012-07-30 10:28:15 -04:00
David Zbarsky
7c9e912225
Bug 778501 Part 3: Clean up the includes in nsPresContext.h r=roc
2012-07-29 21:29:41 -07:00
Daniel Holbert
56041e0702
Bug 777523: Remove stale "XXX bug 3935" annotation from some properties in nsCSSPropList.h. r=dbaron
2012-07-27 15:53:08 -07:00
David Zbarsky
621c1b50c9
Bug 755084 Part 3: Move checks for whether to animate opacity and transforms on the compositor thread to nsLayoutUtils, and make them also check whether the compositor is actually running r=cjones,dbaron
2012-07-27 13:23:45 -07:00
David Zbarsky
def7ad497f
Bug 768440 Part 2: Animate CSS Transitions on the compositor r=roc,dbaron
2012-07-27 13:23:45 -07:00
David Zbarsky
6cf6507678
Bug 768440 Part 1: Move ElementTransitions and ElementPropertyTransition to the header r=dbaron
2012-07-27 13:23:44 -07:00
David Zbarsky
93b20c52d3
Bug 755084 Part 2: Perform CSS animations of transform and opacity on the compositor r=roc, dbaron
2012-07-27 13:23:44 -07:00
David Zbarsky
6a41be3a52
Bug 755084 Part 1: Move ElementAnimations, ElementAnimation, AnimationProperty, and AnimationPropertySegment classes to the header file. r=dbaron
2012-07-27 13:23:44 -07:00
Nathan Froyd
7589e34b75
Bug 719173 - handle pixels and numbers specially in ProcessTranslatePart; r=bz, f=mattwoodrow
2012-03-06 13:47:13 -05:00
Margaret Leibovic
cbd6ff9d26
Bug 725286 - Plugin placeholder text for the unsupported platforms is misleading. r=blassey,dolske
2012-07-25 21:44:11 -07:00
Ed Morley
3ed23376d4
Backout 1244b8a8e57a (bug 755084), 32d16d0f87c9 (bug 706179), 8548e016d4a9 (bug 768440), 697f5b87eae9 (bug 768440), 808fc2bd4e8c (bug 755084), 54b1484cd125 (bug 755084), 876726b632c0 (bug 706179) for xul android R3 failures
2012-07-25 16:37:04 +01:00
David Zbarsky
c31bdbe970
Bug 755084 Part 3: Move checks for whether to animate opacity and transforms on the compositor thread to nsLayoutUtils, and make them also check whether the compositor is actually running r=cjones,dbaron
2012-07-25 01:55:00 -07:00
David Zbarsky
ab1bc2614f
Bug 768440 Part 2: Animate CSS Transitions on the compositor r=roc,dbaron
2012-07-25 01:48:10 -07:00
David Zbarsky
fe8aa08a97
Bug 768440 Part 1: Move ElementTransitions and ElementPropertyTransition to the header r=dbaron
2012-07-25 01:48:10 -07:00
David Zbarsky
630069520d
Bug 755084 Part 2: Perform CSS animations of transform and opacity on the compositor r=roc, dbaron
2012-07-25 01:48:09 -07:00
David Zbarsky
8bc868d4bc
Bug 755084 Part 1: Move ElementAnimations, ElementAnimation, AnimationProperty, and AnimationPropertySegment classes to the header file. r=dbaron
2012-07-25 01:48:09 -07:00
Ms2ger
0095f01ad0
Bug 776879 - Remove unused variable in opt builds in nsComputedDOMStyle::nsComputedDOMStyle; f=AryehGregor
2012-07-24 14:20:35 +02:00
Matt Brubeck
90029e0bf6
Back out f4f5189b1d0c, 3b4f0606c547, b8a5a1ab8a5f, 5078933d6954, 7e0260c45de9 (bug 768440, bug 755084, bug 706179) because of reftest failures
2012-07-23 20:25:51 -07:00
David Zbarsky
32e63c7164
Bug 768440 Part 2: Animate CSS Transitions on the compositor r=roc,dbaron
2012-07-23 17:34:49 -07:00
David Zbarsky
a031c50422
Bug 768440 Part 1: Move ElementTransitions and ElementPropertyTransition to the header r=dbaron
2012-07-23 17:34:48 -07:00
David Zbarsky
ffaa635014
Bug 755084 Part 2: Perform CSS animations of transform and opacity on the compositor r=roc, dbaron
2012-07-23 17:34:46 -07:00
David Zbarsky
62dd2c03aa
Bug 755084 Part 1: Move ElementAnimations, ElementAnimation, AnimationProperty, and AnimationPropertySegment classes to the header file. r=dbaron
2012-07-23 17:34:28 -07:00
Joshua Cranmer
a1186c1020
Bug 773637 - Kill NS_SCRIPTABLE annotations, Part 1: Remove NS_*PARAM annotations. r=ehsan
...
--HG--
extra : rebase_source : a0b4bc50fece36d9a90fed61431635948bfa33b5
2012-07-06 15:14:07 -05:00
Aryeh Gregor
65eef91085
Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan
2012-07-20 14:16:17 +03:00
David Zbarsky
184933b455
Bug 773500 Part 2: nsStyleAnimation should null check z-component of nsCSSValueTriplet r=dbaron
2012-07-21 19:48:33 -04:00
David Zbarsky
71ad884431
Bug 773500 Part 1:Store z-component of transform-origin as 0 rather than null when it is omitted. r=dbaron
2012-07-21 19:48:19 -04:00
Ryan VanderMeulen
be774885eb
Merge m-c to inbound.
2012-07-20 17:37:53 -04:00
Olli Pettay
aa64d464e5
Bug 765163 - Implement code generator for simple DOM events, r=jst,khuey
2012-07-20 19:42:08 +03:00
David Zbarsky
efedd09aba
Bug 769193 - Interpolate between transform functions that share common primitives rather than forcing them to fall back to matrix decomposition. r=dbaron
2012-07-20 14:08:37 -04:00
Cameron McCormack
803f9f3bf4
Bug 774968 - line-height percentage value not computed accurately. r=dbaron
...
--HG--
extra : rebase_source : 93885c1b2ef72d673a935c135f89cc06bc58136d
2012-07-20 07:03:35 +10:00
Jonathan Watt
3d3b692947
Bug 775304 - Don't visit the descendant frames for the nsChangeHint_UpdateEffects hint. r=roc, r=dbaron.
...
--HG--
extra : rebase_source : 11996bd6194d62f98eba81d5e3a13d29eaacd62b
2012-07-19 15:44:04 -04:00
Aryeh Gregor
b82f9e8e6c
Bug 768756 part 2 - Make nsComputedDOMStyle Init infallible and merge into constructor; r=bz
2012-07-06 15:28:33 +03:00
Boris Zbarsky
5a39a1c779
Bug 607267. Don't style imagemaps as block. r=dbaron,tbsaunde
2012-07-17 12:18:53 -04:00
L. David Baron
1035bd9ac6
Disable the unitless length quirk inside of calc(). (Bug 774122, patch 3) r=bzbarsky
...
I noticed this bug because the new assertions in ParseVariant,
introduced in the previous patch, are stricter and would assert without
this fix.
2012-07-16 09:11:33 -04:00
L. David Baron
3547cf232d
Limit the unitless length quirk to the properties where it's needed, per http://simon.html5.org/specs/quirks-mode#the-unitless-length-quirk . (Bug 774122, patch 2) r=bzbarsky
2012-07-16 09:11:33 -04:00
L. David Baron
a9208a1f33
Limit the hashless color quirk to the properties where it's needed, per http://simon.html5.org/specs/quirks-mode#the-hashless-hex-color-quirk . (Bug 774122, patch 1) r=bzbarsky
...
This changes test_property_syntax_errors.html in the following ways:
(1) removes the "known failures" handling, since there aren't any
(2) changes it to test syntax errors in both quirks mode and standards
mode, instead of only in standards mode
(3) uses a (new) quirks_values mechanism to property_database.js to
test cases that should be invalid in standards mode but accepted in
quirks mode
2012-07-16 09:11:33 -04:00
L. David Baron
d1bb327966
Make test_visited_reftests report failures instead of using timeout to indicate failure. No bug.
2012-07-16 09:11:32 -04:00
Gavin Sharp
b1ad21b2f2
Backed out changeset 0e6039a2c90a due to reftest bustage:
...
REFTEST TEST-UNEXPECTED-FAIL | file:///c:/talos-slave/test/build/reftest/tests/layout/reftests/transform-3d/translatez-1a.html | image comparison (==)
REFTEST TEST-UNEXPECTED-FAIL | file:///c:/talos-slave/test/build/reftest/tests/layout/reftests/transform-3d/translate3d-1a.html | image comparison (==)
2012-07-16 01:05:23 -07:00
Gavin Sharp
83a09297e1
Backed out changeset ac282e15dc02 (bug 774122)
2012-07-16 01:04:31 -07:00
Gavin Sharp
98c4ef5d6b
Backed out changeset e3007422b989 (bug 774122)
2012-07-16 01:04:29 -07:00
Gavin Sharp
baaeab14a2
Backed out changeset 64ff8c2d37f9 (bug 774122)
2012-07-16 01:04:27 -07:00
L. David Baron
a6e6996629
Disable the unitless length quirk inside of calc(). (Bug 774122, patch 3) r=bzbarsky
...
I noticed this bug because the new assertions in ParseVariant,
introduced in the previous patch, are stricter and would assert without
this fix.
2012-07-16 01:10:06 -04:00
L. David Baron
0437cc109d
Limit the unitless length quirk to the properties where it's needed, per http://simon.html5.org/specs/quirks-mode#the-unitless-length-quirk . (Bug 774122, patch 2) r=bzbarsky
2012-07-16 01:10:06 -04:00
L. David Baron
95c5727047
Limit the hashless color quirk to the properties where it's needed, per http://simon.html5.org/specs/quirks-mode#the-hashless-hex-color-quirk . (Bug 774122, patch 1) r=bzbarsky
...
This changes test_property_syntax_errors.html in the following ways:
(1) removes the "known failures" handling, since there aren't any
(2) changes it to test syntax errors in both quirks mode and standards
mode, instead of only in standards mode
(3) uses a (new) quirks_values mechanism to property_database.js to
test cases that should be invalid in standards mode but accepted in
quirks mode
2012-07-16 01:10:06 -04:00
L. David Baron
15e373f633
Make test_visited_reftests report failures instead of using timeout to indicate failure. No bug.
2012-07-16 01:10:06 -04:00
Ed Morley
c86dfc36ed
Backout 6ceeca8b4b73 (bug 772332), ce5629b973e4, 1dcff1db63b4, 108d06ef7755 & 7bf6519b3f43 (bug 768756) for bustage
2012-07-15 11:42:31 +01:00
Aryeh Gregor
d3819f192a
Bug 768756 part 2 - Make nsComputedDOMStyle Init infallible and merge into constructor; r=bz
2012-07-06 15:28:33 +03:00
Rafael Ávila de Espíndola
2c8174a582
Bug 774022 - Remove extra ;. r=dbaron.
2012-07-15 00:15:35 -04:00
L. David Baron
461f51a68f
Require animation-duration and transtion-duration to be nonnegative at parse time. (Bug 773102, patch 3) r=bzbarsky
...
I believe there's some other code removal that can be done as a followup
to this patch, but that doesn't have to be done now.
2012-07-13 18:01:34 -07:00
L. David Baron
1405c24d0f
Add VARIANT_NONNEGATIVE_DIMENSION. (Bug 773102, patch 2) r=bzbarsky
2012-07-13 18:01:34 -07:00
L. David Baron
4e05bcf328
Rename VARIANT_POSITIVE_LENGTH to VARIANT_POSITIVE_DIMENSION since it also applies to times and frequencies. (Bug 773102, patch 1) r=bzbarsky
2012-07-13 18:01:34 -07:00
Ehsan Akhgari
d39a53a02a
Merge backout
2012-07-13 20:12:21 -04:00
Ehsan Akhgari
9999b284f0
Backout changeset 4e1480ab5116, changeset 576f7d52de4b, and changeset 2a030d4733a0 (bug 773102) because of test failure
2012-07-13 20:12:02 -04:00
Boris Zbarsky
496f1a1325
Bug 771594. Allow preference control over what CSS properties we parse. r=dbaron,dholbert
2012-07-13 19:59:05 -04:00
L. David Baron
4a10b99da8
Require animation-duration and transtion-duration to be nonnegative at parse time. (Bug 773102, patch 3) r=bzbarsky
...
I believe there's some other code removal that can be done as a followup
to this patch, but that doesn't have to be done now.
2012-07-13 15:06:50 -07:00
L. David Baron
2296f8a8cc
Add VARIANT_NONNEGATIVE_DIMENSION. (Bug 773102, patch 2) r=bzbarsky
2012-07-13 15:06:50 -07:00
L. David Baron
b03cc425f6
Rename VARIANT_POSITIVE_LENGTH to VARIANT_POSITIVE_DIMENSION since it also applies to times and frequencies. (Bug 773102, patch 1) r=bzbarsky
2012-07-13 15:06:50 -07:00
L. David Baron
db7d82c836
Add support for unprefixed calc(), and prefer serializing to unprefixed form. (Bug 771678) r=bzbarsky
...
This also converts all of the tests in layout/style/test/ to using
calc(), except that it duplicates all of the valid values and some of
the invalid values for 'width' and '-moz-column-rule-width' (which are
the two properties that intentionally have extensive calc() tests) in
property_database.js.
2012-07-13 15:06:50 -07:00
Ehsan Akhgari
006e865944
Backout changeset e62e0d2137b6 (bug 773500) because of mochitest-4 bustage
2012-07-13 16:02:06 -04:00
David Zbarsky
2acab54bc4
[Bug 773500] nsStyleAnimation checks for common units of nsCSSValuePair/Triplet are screwy r=dbaron
2012-07-13 11:49:31 -07:00
Aryeh Gregor
dde10d9130
Bug 772807 - Clean up editor/ includes with include-what-you-use; r=ehsan
2012-07-13 09:33:42 +03:00
David Keeler
6f37861531
bug 760625 - use the blocklist to inform click-to-play plugins. r=joshmoz,bmcbride
2012-07-11 08:56:34 -07:00
Daniel Holbert
be4d25c573
Bug 696253 patch 9: Update mochitest-files variable name in ifdef'd chunk of Makefile for style tests, to accommodate changes from bug 370750. r=dbaron
2012-07-11 12:24:36 -07:00
Aryeh Gregor
c62c7edaec
Bug 719054 - matrix() and matrix3d() with length units should be parse errors; r=dbaron
2012-02-13 11:29:30 -05:00
Nathan Froyd
bfff055672
Bug 370750 - consolidate mochitest files installation; r=glandium
...
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Emmanuele Bassi
0bfd16993e
Bug 762303 - Unprefix CSS Transition properties and provide temporary aliases for -moz-transition and exposed subproperties. r=dbaron
2012-07-08 21:25:10 -04:00
Emmanuele Bassi
4b04164545
Bug 762302 - Unprefix CSS Animation properties and @keyframes rule and provide temporary aliases for -moz-animation and exposed subproperties. r=dbaron
2012-07-08 21:25:10 -04:00
Jonathan Watt
f234ac813a
Bug 769742 - Account for nsSVGOuterSVGFrames' border/padding offset by giving nsSVGOuterSVGFrame an anonymous child to wrap its real children. r=roc.
2012-07-09 02:04:56 +01:00
L. David Baron
5f644a10e6
Add flush before we find our pres context, to fix media queries tests on ringmark. (Bug 753777) r=bzbarsky
2012-07-07 21:41:27 -07:00
L. David Baron
88843c851b
Implement dppx units [css3-images] for resolution media query. (Bug 741644) r=bzbarsky
2012-07-07 21:41:27 -07:00
L. David Baron
c51fdbf971
Change our interpretation of resolution units in CSS to match updates to the spec: i.e., device pixels per CSS inch (instead of device pixels per physical inch). (Bug 771390) r=bzbarsky
...
Given that this makes GetResolution work like GetDevicePixelRatio, I
believe this should also fix bug 662061 (on resolution's behavior when
zooming)?
2012-07-07 21:41:27 -07:00
Masatoshi Kimura
8fc4a02cfc
Bug 752187 - Tests. r=dbaron
...
--HG--
rename : layout/reftests/css-gradients/radial-onestopposition-1.html => layout/reftests/css-gradients/radial-onestopposition-1a.html
rename : layout/reftests/css-gradients/repeating-radial-onestopposition-1.html => layout/reftests/css-gradients/repeating-radial-onestopposition-1a.html
2012-07-07 10:27:10 -04:00
Masatoshi Kimura
31691a2ce9
Bug 752187 - Part 12: Implement serializing unprefixed computed values. r=dbaron
2012-07-07 10:27:09 -04:00
Masatoshi Kimura
364cab6dd4
Bug 752187 - Part 11: Implement serializing unprefixed gradients. r=dbaron
2012-07-07 10:27:09 -04:00
Masatoshi Kimura
85d5ae2b8f
Bug 752187 - Part 10: Implement rendering unprefixed gradients. r=dbaron
2012-07-07 10:27:08 -04:00
Masatoshi Kimura
2a19870d92
Bug 752187 - Part 9: Implement unprefixed radial-gradient parsing. r=dbaron
2012-07-07 10:27:08 -04:00
Masatoshi Kimura
6eab3cff50
Bug 752187 - Part 8: Implement unprefixed linear-gradient parsing. r=dbaron
2012-07-07 10:27:08 -04:00
Masatoshi Kimura
b27adf13d6
Bug 752187 - Part 7: Add aIsLegacy parameter to parsing functions. r=dbaron
2012-07-07 10:27:08 -04:00
Masatoshi Kimura
63ae4a505b
Bug 752187 - Part 6: Rename mIsToCorner to mIsLegacySyntax. r=dbaron
2012-07-07 10:27:08 -04:00
Masatoshi Kimura
efb32159fe
Bug 752187 - Part 5: Remove "to" corner parsing from ParseRadialGradient. r=dbaron
2012-07-07 10:27:08 -04:00
Masatoshi Kimura
50849b0c34
Bug 752187 - Part 4: Remove aIsRadial parameter. r=dbaron
2012-07-07 10:27:07 -04:00
Masatoshi Kimura
5a7d5c802c
Bug 752187 - Part 3: Separate linear gradient parsing and radial gradient parsing. r=dbaron
2012-07-07 10:27:07 -04:00
Masatoshi Kimura
dae5f81a1a
Bug 752187 - Part 2: Separate legacy gradient line parsing. r=dbaron
2012-07-07 10:27:07 -04:00
Masatoshi Kimura
813653738b
Bug 752187 - Part 1: Separate color stops parsing. r=dbaron
2012-07-07 10:27:07 -04:00
Daniel Holbert
7321212d1b
Bug 696253, patch 8: implement parsing/computation for CSS shorthand property 'flex'. r=dbaron
2012-07-06 17:06:23 -07:00
Daniel Holbert
131f2b5d0d
Bug 696253, patch 7: implement parsing/computation for CSS property 'flex-basis'. r=dbaron
2012-07-06 17:06:23 -07:00
Daniel Holbert
c7782ae98e
Bug 696253, patch 6: implement parsing/computation for CSS properties 'flex-grow' and 'flex-shrink'. r=dbaron
2012-07-06 17:06:22 -07:00
Daniel Holbert
0dd40b90f7
Bug 696253, patch 5: implement parsing/computation for CSS property 'align-self'. r=dbaron
2012-07-06 17:06:21 -07:00
Daniel Holbert
85e8349a15
Bug 696253, patch 4: implement parsing/computation for CSS property 'align-items'. r=dbaron
2012-07-06 17:06:21 -07:00
Daniel Holbert
9e077e40c9
Bug 696253, patch 3: implement parsing/computation for CSS property 'flex-direction'. r=dbaron
2012-07-06 17:06:20 -07:00
Daniel Holbert
4fe6be60d1
Bug 696253, patch 2: implement parsing/computation for CSS property 'order'. r=dbaron
2012-07-06 17:06:19 -07:00
Daniel Holbert
e193caf93a
Bug 696253, patch 1: implement parsing/computation for CSS property 'justify-content'. r=dbaron
2012-07-06 17:06:19 -07:00
Jignesh Kakadiya
c6255b0295
Bug 695813 - Use init list in nsStyleDisplay copy-constructor instead of direct-assignment. r=dbaron
2012-07-06 16:31:54 -07:00
Ed Morley
eff0157441
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-07-02 10:03:16 +01:00
Ms2ger
b47d43e055
Bug 745523 - Part b: Unprefix transforms; r=dbaron
...
This patch introduces unprefixed 'transform', 'transform-origin', 'perspective',
'perspective-origin', 'transform-style' and 'backface-visibility' properties, and
updates the mochitests in layout/style to use them.
2012-07-02 08:23:54 +02:00
David Zbarsky
d2ee12f6f9
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Tal Aloni
4096278930
Bug 248239 - Change standards mode height calculations for table cells to use content-box sizing rather than border-box sizing by default (and to honor -moz-box-sizing, which we do not do in quirks mode). Also remove -moz-box-sizing: border-box from default style for caption element (all modes). r=dbaron
2012-06-30 12:01:31 -04:00
L. David Baron
74cf33b134
Backout changeset 1e2b9cdc486b (Bug 248239) due to failure of tests/MochiKit-1.4.2/tests/test_MochiKit-Style.html .
2012-06-26 18:16:09 -07:00
Tal Aloni
be79a0decf
Change standards mode height calculations for table cells to use content-box sizing rather than border-box sizing by default (and to honor -moz-box-sizing, which we do not do in quirks mode). Also remove -moz-box-sizing: border-box from default style for caption element (all modes). (Bug 248239) r=dbaron
2012-06-26 16:24:23 -07:00
Daniel Holbert
0432772643
Bug 666041 patch 2: Add "-moz-flex" & "-moz-inline-flex" values for "display" property. r=bz
2012-06-26 15:11:38 -07:00
Boris Zbarsky
4214241dca
Bug 766798. Throw SYNTAX_ERR, not NAMESPACE_ERR, from querySelector(All) on unknown namespaces. r=dbaron
2012-06-22 16:18:50 -04:00
Jignesh Kakadiya
fa3c8cce9f
Bug 765590 - CSSNameSpaceRule.type should be 10, not 0. r=dbaron
2012-06-21 12:58:19 -07:00
L. David Baron
477e40be2b
Treat animation-iteration-count:0 specially. (Bug 765218) r=bzbarsky
2012-06-21 11:44:34 -07:00
L. David Baron
b118cfe2c6
Implement new values of animation-direction. (Bug 655920) r=bzbarsky
2012-06-21 11:44:34 -07:00
Jared Wein
2f7b6b29fb
Backed out changeset feec545f5f98 (bug 713608)
2012-06-19 14:11:38 -07:00
Jared Wein
97b9005081
Backed out changeset 0fa8e0eb40a7 (bug 760696)
2012-06-19 14:11:23 -07:00
Ehsan Akhgari
65884fba1f
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (layout parts); r=roc
...
--HG--
extra : rebase_source : 9f3da1b47dcb9d7cc950488b9b70aa682b6984de
2012-06-18 23:26:34 -04:00
Ehsan Akhgari
2050b687cc
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (content parts); r=bzbarsky
...
--HG--
extra : rebase_source : e25a064995914ca4f7b1db16b5725eb440d3e531
2012-06-18 22:30:09 -04:00
Scott Johnson
f9c641e24b
Bug 733614: Backout changes from bug 695222 for mozilla 16 branch [r=dbaron].
2012-06-13 11:00:56 -05:00
Daniel Holbert
ebdb5c86fb
Bug 763689: Add "auto" keyword for min-height and min-width, which for now just computes to 0. r=bz
2012-06-12 10:48:20 -07:00
Nathan Froyd
d2af2caa01
Bug 674922 - report on most common objects allocated in a PresShell's arena; r=roc,njn
2012-06-06 13:35:40 -04:00
Ehsan Akhgari
b354f9cf8c
Bug 762345 - Skip all the QIing stuff in the TreeMatchContext constructor if possible; r=bzbarsky
2012-06-07 15:19:56 -04:00
Ehsan Akhgari
1261bc9326
Merge mozilla-central into mozilla-inbound
2012-06-06 12:46:50 -04:00
Ed Morley
fbe10d4921
Merge mozilla-central to mozilla-inbound
2012-06-06 10:24:28 +01:00
Ms2ger
b9cdb58b83
Bug 629882 - Support currentColor in the 2D canvas context; r=dbaron
...
This changes nsCSSParser::ParseColorString to fill in an nsCSSValue instead
of an nscolor, and exposes nsRuleNode::ComputeColor to turn this nsCSSValue
into an nscolor.
Because gradients can be used with different canvas elements in different
documents, these cannot pass useful values for nsRuleNode::ComputeColor's
aPresContext and aStyleContext arguments. This patch also changes SetColor
to deal with those parameters being null.
2012-06-06 09:36:38 +02:00
Ehsan Akhgari
bdd1cdb13d
Bug 157681 - Part 2: Optimize positioned frame offset changes by moving the frame as opposed to reflowing it in case we know that the size of the frame will not change; r=dbaron
...
This patch adds a change hint to signal that one of the offsets on a
frame has been changed. When processing the hint, we do one of the
following things based on the position property of the frame.
* For static frames, we ignore the offset changes completely, as they
will not change the layout.
* For relative positioned frames, this patch refactors the
nsHTMLReflowState::ComputeRelativeOffsets function so that it can be
used from other callers, and it uses that to compute the new relative
offsets, and uses the offsets computed previously to compute the new
position of the frame.
* For absolute positioned frames, we set up a fake parent reflow state
object, and then we create a new reflow state object for the frame in
question. This setup is similar to what nsFrame::BoxReflow does.
Once we have the new reflow state object, we use it to compute the
absolute offsets, and then we use the computed offsets to set the new
position of the frame. The offset computation is similar to what
nsAbsoluteContainingBlock::ReflowAbsoluteFrame does. In some cases
where it is possible for the dimensions of the frame to change based
on the offset changes, we fall back to a full reflow.
2012-06-06 00:53:48 -04:00
Geoff Lankow
5cefea8480
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
Simon Montagu
5a4a71fe3a
Bug 760954 - Fix the performance regression in the View Source windows; r=ehsan
2012-06-03 05:00:01 -07:00
Cedric Vivier
f23c7de72d
Bug 727834 - Add an API to (re)parse a style sheet in place. r=bz
...
---
layout/inspector/public/inIDOMUtils.idl | 12 ++-
layout/inspector/src/inDOMUtils.cpp | 11 +++
layout/inspector/tests/chrome/Makefile.in | 2 +
layout/inspector/tests/chrome/test_bug727834.css | 7 ++
layout/inspector/tests/chrome/test_bug727834.xul | 88 +++++++++++++++++++
layout/style/nsCSSStyleSheet.cpp | 99 +++++++++++++++++++---
layout/style/nsCSSStyleSheet.h | 2 +
7 files changed, 207 insertions(+), 14 deletions(-)
create mode 100644 layout/inspector/tests/chrome/test_bug727834.css
create mode 100644 layout/inspector/tests/chrome/test_bug727834.xul
2012-06-03 12:54:38 -04:00
Frank Yan
ab80151f3b
Bug 760696 - Use :fullscreen to detect HTML5 video/audio state for controls visibility. r=jaws,dbaron
2012-06-01 15:10:37 -07:00
Mats Palmgren
4af9e1e450
Bug 760072 - Move RemoveFinishDependency() after the ok() so that the last test result comes before SimpleTest.finish(). r=dbaron
2012-06-01 20:52:37 +02:00
Boris Zbarsky
94b5beb86f
Bug 731447. Make buttons display:inline-block by default so that underlines don't reach into them. r=dbaron
2012-06-01 11:45:37 -04:00
Laurent Dulary
5f76a7e1fe
Bug 662251 - Default style and colors for the meter element. f=mounir r=bz,davidb
2012-05-16 12:26:42 +02:00
Yoan TEBOUL
cbbf51eb82
Bug 659999 - Add a meterbar and meterchunk appearances. f=mounir r=roc
2012-05-16 12:24:55 +02:00
Laurent Dulary
4f4090f3e7
Bug 660238 (2/3) - Add pseudo-class to access optimal, sub-optimal and sub-sub-optimal meter elements. f=mounir r=smaug
2012-05-16 13:23:31 +02:00
Shriram Kunchanapalli
52ac1d5caf
Bug 219767: Move font size functions in nsStyleUtil into nsRuleNode. r=dbaron
2012-05-31 10:09:46 +05:30
L. David Baron
4c91539c7a
Unprefix the border-image-* properties and add a temporary alias for -moz-border-image (but not for its subproperties, which we haven't shipped prefixed). (Bug 713643, patch 5) r=bzbarsky
2012-05-30 22:19:49 -07:00
L. David Baron
edbd83838f
Rename nsStyleBorder::GetActualBorderWidth to GetComputedBorderWidth. (Bug 713643, patch 4) r=bzbarsky
2012-05-30 22:19:49 -07:00
L. David Baron
6642be49cb
Remove nsStyleBorder::GetActualBorder, since it now does the same thing as nsStyleBorder::GetComputedBorder. (Bug 713643, patch 3) r=bzbarsky
2012-05-30 22:19:49 -07:00
L. David Baron
cc0f0f4f5c
Make the serialization of the 'border' shorthand fail when we have a 'border-image' subproperty or a '-moz-border-*-colors' property with a non-default value. (Bug 713643, patch 2) r=bzbarsky
2012-05-30 22:19:49 -07:00
L. David Baron
2cf7788598
Serialize border-image shorthand to shortest form, with the exception that we'll always serialize 'border-image-source'. (Bug 713643, patch 1) r=bzbarsky
2012-05-30 22:19:49 -07:00
Diogo Golovanevsky Monteiro
628405a8bf
Bug 713608 - HTML5 Video controls are missing in Fullscreen. f=fryn r=jaws,dbaron
2012-05-30 17:04:43 -07:00
Simon Montagu
f775bc123b
Prevent line numbers in view-source from participating in bidi reordering. Bug 751841, r=ehsan
2012-05-30 09:51:00 +03:00
Boris Zbarsky
fcf99ba406
Bug 758885. Don't apply the dynamic :hover reresolution skipping optimization to selectors which can match on mutable state other than :hover. r=dbaron
2012-05-29 00:17:45 -04:00
Vincent LAMOTTE
859886a242
Bug 657953 (1/2) - Implement the layout part of the meter element. r=roc
2012-05-16 17:47:10 +02:00
Frank Yan
ec74ac599d
Bug 673873 - Display placeholder when focusing empty input. r=mounir
2012-05-24 03:54:25 -07:00
Ed Morley
02a195b1f4
Backout 0d782874abea, 75571af38ce5 & bfd3a65c0feb (bug 673873) for increasing the failure rate of bug 702184
2012-05-24 14:12:19 +01:00
Frank Yan
6daa0281dc
Bug 673873 - Display placeholder when focusing empty input. r=mounir
2012-05-24 03:54:25 -07:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Benjamin Smedberg
eaa4878487
Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
...
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
L. David Baron
9c3e087f57
Don't use Moz prefix on internal function names in nsComputedDOMStyle for recommendation-track properties. (Bug 756219, patch 2) r=bzbarsky
...
This avoids using prefixes in internal code, in line with users of
nsCSSPropList.h, where we only make the CSS_PROP_DOMPROP_PREFIXED()
macro expand to use prefixes when it's needed for something that's
exposed.
2012-05-18 08:51:57 -04:00
L. David Baron
ab15079413
Remove unused functions from nsComputedDOMStyle. (Bug 756219, patch 1) r=bzbarsky
...
Remove unused DoGet* functions from nsComputedDOMStyle which are never
called because the shorthand properties that they're for aren't listed
in the value returned from GetQueryablePropertyMap (which is as it
should be).
2012-05-18 08:51:55 -04:00
Robert Longson
8953e7caaf
Bug 528332 - Implement non-scaling-stroke vector-effect. Part 1 - style system changes r=dbaron
2012-05-18 09:33:40 +01:00
Kang-Hao (Kenny) Lu
16b937e48c
Bug 752230 - Disallow control characters above 0x7e in CSS unquoted url() tokenization. r=dbaron
2012-05-14 19:01:05 -04:00
Boris Zbarsky
c8acd24873
Bug 753397. Add a field to nsCSSPropList for a preference that controls the property. r=dbaron
...
The actual controlling is not hooked up yet; that will happen in bug 753522 for
the DOM reflections of properties.
2012-05-09 21:29:37 -04:00
Makoto Kato
e70f17856c
Bug 249159 - Part 2 Implement CSS3 Text word-break property. r=dbaron, smontagu
2012-05-07 12:18:23 -07:00
Ms2ger
b849fe0a6c
Bug 745523 - Part a: prepare for unprefixing transforms by removing the prefix from internal APIs; r=dbaron
2012-05-05 11:00:04 +02:00
Kyle Huey
8f79312973
Bug 718539: Followup to fix MSVC warnings. r=me
2012-05-04 12:45:03 -07:00
Mats Palmgren
002ab4cc2a
Bug 615112 - Use correct type for a string length. r=bz
2012-05-04 02:14:01 +02:00
L. David Baron
bad1e080cc
Examine parentBorder only when parentContext is non-null. (Bug 749860) r=bzbarsky
2012-04-27 21:56:31 -07:00
Jonathan Kew
248ae5fed9
bug 739858 - cancel any in-progress loaders for @font-face rules that have been discarded when the font set is updated. r=jdaggett
2012-04-26 18:50:41 +01:00
Ed Morley
55e83a7ae7
Backout 476998cbd69f & f8654d020b1a (bug 739858) for compilation failures
2012-04-26 19:09:20 +01:00
Jonathan Kew
a39295d6c1
bug 739858 - cancel any in-progress loaders for @font-face rules that have been discarded when the font set is updated. r=jdaggett
2012-04-26 18:50:41 +01:00
Masatoshi Kimura
473d12ee2a
Bug 745498 - Add testcases for DOM4 exception types. r=sicking
2012-04-26 09:42:26 -07:00
John Daggett
112cffe3b1
Bug 718539. Update layout/style tests for new font-feature-settings syntax. r=dbaron
2012-04-26 15:24:54 +09:00
John Daggett
4984947d00
Bug 718539. Update font-feature-settings to latest spec syntax. r=dbaron
2012-04-26 15:24:26 +09:00
Nicholas Nethercote
43f329dbbd
Bug 744311 (part 1) - Preliminary whitespace and code order changes. r=jlebar.
...
--HG--
extra : rebase_source : f700733d8aa1aed1ae1f9206b4ee9063f9a03341
2012-04-09 22:52:33 -07:00
Boris Zbarsky
b38f6768b1
Bug 748254. When we encounter an unexpected '}' terminating a font-face descriptor's value, correctly close the font-face rule instead of eating the rest of the stylesheet. r=dbaron
2012-04-26 00:42:00 -04:00
Chris Pearce
e67b17755c
Bug 745067 - Remove margins by default on fullscreen elements. r=bz
2012-04-26 14:35:23 +12:00
Robert Longson
502eb38ee2
Bug 746632 - If no fallback colour is specified we shouldn't draw anything when the URL fails to resolve. r=dbaron
2012-04-25 13:33:47 +01:00
Mike Hommey
0ae0853a60
Bug 743241 - Remove OSARCH and OSTYPE defines from config.mk. r=ted
2012-04-25 09:01:10 +02:00
Ehsan Akhgari
166aca09f9
Merge mozilla-central into mozilla-inbound
2012-04-24 21:29:44 -04:00
Patrick Wong
4ccd1d2fbb
Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar
2012-04-24 14:43:00 -04:00
Ehsan Akhgari
906c0d876d
Merge from mozilla-central
2012-04-23 19:24:10 -04:00
Nathan Froyd
cb640ed02d
Bug 746276 - pack style structures more carefully; r=bz
2012-04-17 15:22:49 -04:00
Ed Morley
460e14ea37
Bug 706194 - Followup to fix bad qimport; a=tests-only
2012-04-23 11:49:26 +01:00
Simon Montagu
d48481e949
Modifications to the tests for default bidi css properties from Webkit. Bug 706194, r=dbaron, a=tests-only
2012-04-23 11:49:15 +03:00
Simon Montagu
668bd9ad37
Modifications to the tests for unicode-bidi: isolate and plaintext from Webkit. Bug 706194, r=roc
2012-04-23 11:48:33 +03:00
Simon Montagu
18d0dc7596
Tests for unicode-bidi: isolate and plaintext from Webkit. Bug 706194, r=roc
2012-04-23 11:48:33 +03:00
Ed Morley
a7b1ccb6f9
Backout ef43fa1005b7, af0733d23b87 & d8d124d2a76c (bug 706194) for compilation failures a=backout
2012-04-23 10:29:11 +01:00
Simon Montagu
cc617672a1
Modifications to the tests for default bidi css properties from Webkit. Bug 706194, r=dbaron, a=tests-only
2012-04-23 11:49:15 +03:00
Simon Montagu
6c21241939
Modifications to the tests for unicode-bidi: isolate and plaintext from Webkit. Bug 706194, r=roc
2012-04-23 11:48:33 +03:00
Simon Montagu
8df5f8e007
Tests for unicode-bidi: isolate and plaintext from Webkit. Bug 706194, r=roc
2012-04-23 11:48:33 +03:00
Chris Pearce
41760bc819
Bug 744860 - Set sensible :-moz-full-screen CSS width/height defaults, so elements with specified CSS dimensions end up fullscreen properly. r=roc a=blassey
2012-04-19 10:54:37 +12:00
Robert O'Callahan
8a8de768a2
Bug 735898. Part 7: Remove expensive nsIFrame::HasBorder checks, just check style instead. r=dbaron,a=blocking-fennec
2012-04-18 17:14:31 +12:00
Robert O'Callahan
8086b9a611
Bug 735898. Part 4: Create Inner/Outer box-shadow items only if we actually have inset/outset shadows. r=mattwoodrow
2012-04-16 17:43:33 +12:00
Mark Capella
bb0cb90d39
Bug 740688 - Use uintptr_t instead of PRUword, and intptr_t instead of PRWord. r=jwalden
...
--HG--
extra : rebase_source : 648a581323d2c2893df780f71fe34dadcc4bbaab
2012-04-11 17:17:44 -07:00
Kang-Hao (Kenny) Lu
22649062f0
Bug 744243 - Forbid odd trailing slash in CSS 'border-image' property. r=dbaron
2012-04-12 10:02:33 +02:00
Ms2ger
e6649652ce
Backout changeset 986091dac358 (bug 744234) for M4 oranges.
2012-04-11 12:30:11 +02:00
Kang-Hao (Kenny) Lu
8ed69c9ee3
Bug 744234 - Forbid odd trailing slash in CSS 'border-image' property. r=dbaron
2012-04-11 00:28:01 -07:00
Jared Wein
3fb7686724
Bug 713487 - Move TopLevelImageDocument.css and TopLevelVideoDocument.css to toolkit/themes. r=roc,dao
2012-04-10 16:03:41 -07:00
Daniel Holbert
22ee3b126d
Bug 742581: Make definition of nsStyleCoord::GetCoordValue() consistent with the declaration, regarding what the function's return type is. r=dbaron
2012-04-06 17:01:32 -07:00
Boris Zbarsky
6162243757
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
Boris Zbarsky
a25824bd5d
Bug 742030. When cloning nodes with inline style, preserve the inline style string. r=sicking
2012-04-05 13:14:54 -04:00
Josh Matthews
0a84303b99
Bug 722853 - Derive private browsing status from docshell when assigning element states. r=dbaron
2012-03-30 02:16:22 -04:00
L. David Baron
5b33d81ff3
Add comment explaining the difference between CSS_PROPERTY_PARSE_FUNCTION and CSS_PROPERTY_VALUE_PARSER_FUNCTION (prompted by question from jdaggett). No bug.
2012-03-29 10:16:21 -07:00
Ms2ger
cd6e787733
Backout bug 722853 - changeset f40a17213344; r=orange
2012-03-26 18:41:19 +02:00
Josh Matthews
5b05bfee0b
Bug 722853 - Derive private browsing status from docshell when assigning element states. r=dbaron
...
--HG--
extra : rebase_source : d59985b415ccafc4a9c8e8dbea9b69fa61602b8b
2012-02-21 09:57:09 -05:00
L. David Baron
79f6403b7a
Change css3-animations behavior for repeated keys in an @keyframes rule: do replacement on a per-property basis. (Bug 738003) r=bzbarsky
...
This implements my proposal in
http://lists.w3.org/Archives/Public/www-style/2011Apr/0381.html and
http://lists.w3.org/Archives/Public/www-style/2011Apr/0387.html . I
think it was a serious mistake to implement what the spec says, and I'm
fixing that mistake so that we have a chance to change the spec.
In other words, when an @keyframes rule has two key selectors at the
same time, the later one no longer overrides the entirety of the earlier
one. The overriding is done for each property that's in the later rule.
(And the -moz-animation-timing-function is taken only from the keyframe
actually used for the given property; if there's no declaration there
then the computed value of the property is used.)
The test for @keyframes cascade fails without the patch; the test for
@keyframes cascade2 tests behavior that works both before and after the
patch.
2012-03-21 22:10:02 -07:00
Aryeh Gregor
83ed67bd84
Bug 734953 - Remove skew() transformation function; r=dbaron
2012-03-20 13:39:57 -04:00
Nicholas Nethercote
092c8b03a9
Bug 712865 - Avoid some padding nsCSSCompressedDataBlock by storing nsCSSValue and nsCSSProperty elements separately (2nd attempt). r=dbaron.
2012-03-19 01:39:15 -07:00
Nicholas Nethercote
204ccd37e5
Backed out changeset c880f229fbf5 (bug 712865) due to build bustage. r=me.
2012-03-18 22:53:20 -07:00
Nicholas Nethercote
f62f7cea29
Bug 712865 - Avoid some padding nsCSSCompressedDataBlock by storing nsCSSValue and nsCSSProperty elements separately. r=dbaron.
...
--HG--
extra : rebase_source : 83dc6eff5e5500fa0dffc0e07d731941ee9e8122
2012-03-18 16:28:08 -07:00
Atul Aggarwal
38ffd75c2e
Bug 536758 - window.getComputedStyle().lineHeight to skip font size ratio adjustment for minimum font size when font sizes are 0. r=dbaron
2011-11-01 12:36:50 +05:30
John Daggett
f6d4d913cf
Bug 512566. Changes based on review comments. r=bz,jfkthame
2012-03-16 12:31:01 +09:00
John Daggett
498718a3eb
Bug 512566. Load font data url's synchronously, netwerk/style changes. r=bz
2012-03-16 12:31:01 +09:00
Daniel Holbert
86b54c02ab
(no bug) Fix alignment of member vars mClip, mClipFlags in nsStyleDisplay class definition. whitespace-only, DONTBUILD
2012-03-15 18:13:08 -07:00
Jonathan Kew
f28a975637
bug 735583 - eliminate font constant synonyms and use the standard forms everywhere. r=jdaggett
2012-03-15 09:04:46 +00:00
Boris Zbarsky
64e0bf573c
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
Boris Zbarsky
0b6e42d918
Bug 732667. Only do checks for :hover selectors when hover state changes on nodes which have relevant hover rules. r=dbaron
2012-03-12 22:54:15 -05:00
Boris Zbarsky
4e80e64553
Bug 705877 part 4. Use the TreeMatchContext's ancestor filter, if any, in EnumerateAllRules. r=dbaron
2012-03-12 22:54:15 -05:00
Boris Zbarsky
3e12270964
Bug 705877 part 3. Hang an optional Bloom filter and some methods for managing it off the TreeMatchContext. r=dbaron
2012-03-12 22:54:15 -05:00
Boris Zbarsky
0f31ab2288
Bug 705877 part 2. Store the hashes of the atoms occurring as IDs, classes, and tag names in selectors that would need to match one of our ancestors. r=dbaron
...
We store a maximum of 4 hashes to save space. Interesting questions are whether 4 is the right number
and whether we should, prioritize ids and classes over tags. In practice, this seems to be good enough
at least performance-wise, though it's possible we could use less memory and still do OK on the performance.
2012-03-12 22:54:14 -05:00
Phil Ringnalda
ef5d0d917f
Back out 83a33626d965:6e9330f5a9bd (bug 732667 and bug 705877) for Windows build bustage
2012-03-12 22:12:41 -07:00
Boris Zbarsky
4de57bccc9
Bug 732667. Only do checks for :hover selectors when hover state changes on nodes which have relevant hover rules. r=dbaron
2012-03-12 22:54:15 -05:00
Boris Zbarsky
c3ed68f368
Bug 705877 part 4. Use the TreeMatchContext's ancestor filter, if any, in EnumerateAllRules. r=dbaron
2012-03-12 22:54:15 -05:00
Boris Zbarsky
f593cd5e83
Bug 705877 part 3. Hang an optional Bloom filter and some methods for managing it off the TreeMatchContext. r=dbaron
2012-03-12 22:54:15 -05:00
Boris Zbarsky
e9f9272eeb
Bug 705877 part 2. Store the hashes of the atoms occurring as IDs, classes, and tag names in selectors that would need to match one of our ancestors. r=dbaron
...
We store a maximum of 4 hashes to save space. Interesting questions are whether 4 is the right number
and whether we should, prioritize ids and classes over tags. In practice, this seems to be good enough
at least performance-wise, though it's possible we could use less memory and still do OK on the performance.
2012-03-12 22:54:14 -05:00
Matt Woodrow
0ac99fdad0
Bug 730166 - Mark frames with a hidden backface as transformed. r=roc
2012-03-12 15:03:29 +13:00
Jacob Holzinger
6a62cb6a9b
Bug 696242 - Convert NS_RegisterStaticAtoms and nsCSSScanner::ReportUnexpectedParams to take an array-reference rather than a pointer and length, making it impossible to pass a pointer/length that are inconsistent. r=jwalden
...
--HG--
extra : rebase_source : 882b5b4d500b1fa242c0a3cfa3084e4171cbaa9d
2012-03-08 18:22:57 -08:00
Makoto Kato
b6e9c4d7bb
Bug 590390 - deCOM nsICharsetAlias. r=smontagu
...
--HG--
rename : intl/locale/public/nsICharsetAlias.h => intl/locale/public/nsCharsetAlias.h
rename : intl/locale/src/nsCharsetAliasImp.cpp => intl/locale/src/nsCharsetAlias.cpp
2012-03-05 12:57:51 +09:00
Nicholas Nethercote
da738c5677
Bug 723799 - Use mallocSizeOf in the DOM memory reporters. r=mounir.
...
--HG--
extra : rebase_source : 2eb96d2f901bbe4cc1ff6dbccdec4dc4099b08fc
2012-02-01 13:58:01 -08:00
Nathan Froyd
68a79f10ae
Bug 731615 - Eliminate duplicate headers in layout. rs=smontagu
2012-02-29 10:57:47 -05:00
L. David Baron
35138d3348
Hold on to MediaQueryList objects that have listeners so that notification doesn't depend on GC timing. (Bug 716751) r=bzbarsky
...
Note: This also fixes a crash (when notifications happen) from
calling mql.addListeners(null).
This also fixes test_media_query_list.html so that the initial set of
tests doesn't keep running through the later tests.
The test for the null-dereference has been confirmed to crash without
the patch and pass with the patch.
The test for the gc issue has been confirmed to fail without the patch
and pass with the patch.
2012-02-29 20:47:55 -08:00
David Bolter
ab09888daa
Bug 495912 - Expose content in HTML canvas elements. r=bz,roc r=surkov(tests)
...
layout-mentor: bz (mucho thanks!)
We make html canvas frame a container and render frames for its content which makes a lot of what we need for accessibility "just work".
2012-02-17 23:26:37 -05:00
Ed Morley
8de602546b
Backout 547de632a3e2 (bug 495912) for mochitest-a11y orange
2012-02-29 18:42:58 +00:00
David Bolter
6392ae8ed0
Bug 495912 - Expose content in HTML canvas elements. r=bz,roc r=surkov(tests)
...
layout-mentor: bz (mucho thanks!)
We make html canvas frame a container and render frames for its content which makes a lot of what we need for accessibility "just work".
2012-02-17 23:26:37 -05:00
Lazar Sumar
c285af6984
Bug 548375 - Add tests for background-repeat taking two values (css3-background). r=dbaron
2012-02-24 21:23:14 -08:00
Lazar Sumar
e55f832fac
Bug 548375 - Implement css3-background background-repeat property two value syntax. r=dbaron
2012-02-24 21:23:14 -08:00
L. David Baron
0524fb133f
Remove the CSS2Properties aliases for MozOutline* and MozOpacity for CSS properties whose CSS aliases were removed long ago (but temporarily readded in the previous changeset). (Bug 730532, patch 2) r=bzbarsky
2012-02-24 21:23:14 -08:00
L. David Baron
156371420c
Add a header file for CSS property aliases (and temporarily resurrect the aliases whose DOM properties we forgot to remove). (Bug 730532, patch 1) r=bzbarsky
2012-02-24 21:23:14 -08:00
L. David Baron
17659793f1
Make nsStyleCoord's member variables private, as they should have been. (Bug 730240) r=bzbarsky
2012-02-24 21:23:14 -08:00
L. David Baron
a252d1e95b
Depend on assignment and copy construction of unions in nsStyleCoord. (Bug 730240) r=bzbarsky
2012-02-24 21:23:14 -08:00
Zack Weinberg
f4fb4a1991
Bug 729142 - Convert layout/style to MOZ_STATIC_ASSERT. r=dbaron
2012-02-23 08:19:00 -08:00
Lazar Sumar
722dd03f66
Bug 729126 - Make NS_ABORT_IF_FALSE fire on failure for only some callers of AddCSSValuePixelPercentCalc (the existing ones, and not the new ones added in bug 522607). r=dbaron
2012-02-23 11:40:41 +13:00
L. David Baron
1f1ceaf509
Drop support for -moz-box-shadow and -moz-border-radius-* now that we've supported the unprefixed versions since Firefox 4. (Bug 693510) r=bzbarsky
2012-02-22 14:14:52 -08:00
Zack Weinberg
55006e6a38
Bug 96971: Move GetSystemFont from nsDeviceContext to mozilla::LookAndFeel. r=roc
2012-02-20 15:19:48 -08:00
William Chen
4a16132bcb
Bug 522607 - Tests for new css3-background background-position syntax. r=dbaron
2012-02-20 12:16:11 +13:00
Lazar Sumar
c075b7dd27
Bug 522607 - New css3-background background-position syntax. r=dbaron
2012-02-20 13:14:42 +13:00
Jonathan Watt
3864018bdb
Bug 721920 - Honor the 'lang' and 'xml:lang' attributes in SVG as we do in HTML. r=bz.
2012-02-19 20:49:34 +00:00
Jonathan Watt
f4f67ef82f
Bug 416581, part 2 - Pay attention to the 'lang' attribute when fetching the user's font prefs for the CSS cascade. r=dbaron.
2012-01-25 23:52:26 +00:00
Andrew McCreight
dcb1ed46ad
Bug 727625 - remove childless nsDOMCSSAttributeDeclaration from the purple buffer. r=smaug
2012-02-16 08:45:19 -08:00
Aryeh Gregor
ca639d81bb
Bug 724750 - 3D transform backface-visibility has no effect when applied to an element with display:table. r=roc
...
--HG--
rename : layout/reftests/transform-3d/backface-visibility-1b.html => layout/reftests/transform-3d/backface-visibility-1c.html
extra : rebase_source : 8e878d9729f49b3adc0107b6760f618b8025f390
2012-02-16 14:30:34 +01:00
Aryeh Gregor
410d2e0687
Bug 655478 - CSSStyleDeclaration.setProperty shouldn't require the third parameter to be set; r=bzbarsky
...
--HG--
extra : rebase_source : 131b879a0190c1979ee563cc102b5a548bf6986d
2012-02-15 16:31:40 -05:00
Andrew McCreight
2a617d6d50
Bug 726331 - remove childless nsComputedDOMStyles from the purple buffer. r=smaug
2012-02-15 15:29:53 -08:00
Aryeh Gregor
326da86ac8
Bug 721136 - transform property serialization doesn't normalize case; r=dbaron
2012-02-13 16:23:15 -05:00
Aryeh Gregor
7cf7a1dac7
Bug 393910 - Serialize "0" as "0px" for lengths instead of "0pt"; r=dbaron
2012-02-14 10:54:08 -05:00
Jesse Ruderman
56efad1b1d
Bug 726465 - Add eCSSUnit_Turn case to nsCSSValue::SizeOfExcludingThis. r=bz
2012-02-12 17:51:58 -08:00
Aryeh Gregor
2c1f399923
Bug 722777 - Tables with 'transform' property set don't act as abs-pos/fixed-pos containers; r=roc
...
--HG--
rename : layout/reftests/transform/abspos-1a.html => layout/reftests/transform/abspos-1f.html
rename : layout/reftests/transform/abspos-1b.html => layout/reftests/transform/abspos-1g.html
2012-02-10 21:05:00 +00:00
Aryeh Gregor
bf4fa20100
Bug 719446 - getComputedStyle().MozTransform shouldn't have "px" in it; r=roc
2012-02-10 21:04:59 +00:00
Aryeh Gregor
695167de58
Bug 725036 - 'perspective' property doesn't reject negative numbers r=matt.woodrow
2012-02-07 14:43:28 -05:00
Aryeh Gregor
6a0beebc50
Bug 715946 - Don't return percentages for computed value of transform-origin/perspective-origin. r=bz
2012-02-07 15:40:02 -05:00
Heather Arthur
580e841242
Bug 708874 - API for locking pseudo-class state of an element. r=bz
2012-02-08 10:42:38 -08:00
Mats Palmgren
3441a254aa
merge backout
2012-02-07 12:31:44 +01:00
Mats Palmgren
0e9e24f0c7
Backout Part 4 of bug 524925 (73eaf1199ff0). r=roc
2012-02-07 12:31:37 +01:00
Mats Palmgren
4912b653ef
merge backout
2012-02-07 12:31:30 +01:00
Mats Palmgren
10fd500a82
Backout bug 719177 (2cae7e5c62ae,07bd73451aa4,13739446fc8e,0246973f2513,f222fbece983,8f11aaac24dc). r=roc
2012-02-07 12:31:24 +01:00
Mats Palmgren
5bcdf45647
merge backout
2012-02-07 12:31:19 +01:00
Mats Palmgren
692c950a94
Backout bug 722117 (a5569fc4c390). r=roc
2012-02-07 12:31:14 +01:00
Mats Palmgren
4900479470
Bug 722117 - "ASSERTION: CalcDifference() returned bigger hint than MaxDifference()" with blink. r=roc
2012-01-29 09:48:20 +01:00
Mats Palmgren
1144b2f834
Bug 719177 - Changes to 'clip' only needs to update the overflow areas and repaint but does not need a reflow. r=roc
2012-01-28 04:35:59 +01:00
Mats Palmgren
ff48d8d15b
Bug 719177 - Changes to 'border-image-outset' only needs to update the overflow areas and repaint but does not need a reflow. r=roc
2012-01-28 04:35:59 +01:00
Mats Palmgren
dbad187e8c
Bug 719177 - Introduce NS_STYLE_HINT_UPDATE_OVERFLOW as a short-hand for nsChangeHint(nsChangeHint_RepaintFrame | nsChangeHint_UpdateOverflow). r=roc
2012-01-28 04:35:59 +01:00
Mats Palmgren
3808c1ebe2
Bug 719177 - Changes to '-moz-text-blink' and some 'text-decoration-style' values only need to update the overflow areas and repaint, not reflow. r=roc
2012-01-28 04:35:58 +01:00
Mats Palmgren
d79b04f5a7
Bug 719177 - Replace all NS_STYLE_HINT_VISUAL with nsChangeHint_RepaintFrame except for 'visibility' and 'z-index' which are the only ones that need SyncFrameView. r=roc
2012-01-28 04:35:58 +01:00
Mats Palmgren
3d4e1b9097
Bug 719177 - Changes to 'text-shadow' and 'box-shadow' only needs to update the overflow areas and repaint, not reflow. Changes to border style/color/etc only needs repaint, not SyncFrameView. r=roc
2012-01-28 04:35:58 +01:00
Mats Palmgren
c496441d30
Bug 672944 - Setup overflow areas for the scrolled block frame in a XUL scroll frame for the benefit of text-overflow; Make the text-overflow code grok the extra wrapper frame in this case. r=roc
2012-01-28 04:35:59 +01:00
Jonathan Watt
6f83ff5139
Bug 701060 - Fix race condition with pref observers causing test orange. r=ehsan.
2012-01-27 22:16:44 +00:00
Mats Palmgren
c372ed8042
Bug 524925 - Make outline style changes update the overflow and repaint instead of reflow. part=4/6 r=roc
2012-01-18 21:04:51 +01:00
Mats Palmgren
c440256fa3
Bug 524925 - Make all transform style changes update the overflow and repaint instead of reflow. part=3/6 r=roc
2012-01-18 21:04:51 +01:00
Nicholas Nethercote
7559a70a04
Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
...
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Daniel Holbert
8fa0f10c1e
Bug 695222 followup: fix indentation in column-fill chunk of nsRuleNode::ComputeColumnData. [ whitespace-only, DONTBUILD ]
2012-01-25 16:52:19 -08:00
L. David Baron
56ea418dab
Fix error report for unexpected character terminating style attribute. (Bug 720163) r=bzbarsky
2012-01-24 17:21:28 -08:00
Jonathan Watt
f36738d918
Bug 416581, part 1 - Move mLanguage from nsStyleVisibility to nsStyleFont. r=dbaron.
2012-01-24 13:09:55 +00:00
Mats Palmgren
d33bf8f71c
Bug 524925 - Consolidate overflow clipping checks to nsFrame::ApplyOverflowClipping(); and fix some code style nits. part=5/6 r=roc
2012-01-18 21:04:51 +01:00
Benjamin Stover
dc9cd57308
Bug 524925 - Recompute overflow without reflowing for transforms. part=1/6 r=dbaron
...
Add an extra change hint, UpdateOverflow, that can be used to specify that
a frame's overflow areas may have changed and that they need to be recalculated.
When a transform on a frame changes, instead of marking it for reflow, set this
hint instead.
There is an added virtual function on nsIFrame, UpdateOverflow, which is called
recursively on a frame when the corresponding hint is set, to allow it to
update its overflow areas.
2011-06-15 14:03:49 -07:00
Greg Karz
161ae20b7c
Bug 712347 - 'The image cannot be displayed ...' error message is hard to read on a dark background. r=roc
2012-01-13 16:26:41 -08:00
Simon Montagu
a05832e834
Implement text-align-last. Bug 536557, r=dbaron
2012-01-12 19:52:21 +02:00
Ed Morley
afde8417a5
Backout 6605cc311ec5 & 9217303c2e5c (bug 536557) for M4 orange
2012-01-12 15:33:00 +00:00
Simon Montagu
ad89de3591
Implement text-align-last. Bug 536557, r=dbaron
2012-01-12 16:29:20 +02:00
Boris Zbarsky
47e571dfac
Bug 716226. When using insertRule on a keyframes rule, set up the child keyframe rule correctly. r=dbaron
2012-01-11 14:36:43 -05:00
Scott Johnson
94736220a5
Bug 715203 - Fix ua.css to include moz-column-fill as inherited property for scrolled content. [r=bz]
2012-01-09 16:15:10 -06:00
Jonathan Kew
abbb68b23f
bug 711690 - don't warn about unsupported font formats if a different source successfully loads. r=jdaggett
2012-01-05 10:14:11 +00:00
Nathan Froyd
ac04893f6b
Bug 712299 - don't require manual syncing of font data; r=bz
2011-12-20 11:49:16 -05:00
Bobby Holley
9adc1c9d8a
Bug 713747 - Remove usage of UniversalFoo in gecko. r=bz
2011-12-30 09:35:39 -08:00
Geoff Lankow
df77e46072
Bug 246620 - Add line numbers to View Source for Firefox; r=ehsan
2011-11-02 14:05:50 +13:00
Scott Johnson
1575ebf83f
Bug 695222 - Implement column-fill part of CSS3 multicol spec. r=roc,dbaron
2011-12-25 23:25:59 -06:00
Geoff Lankow
e3ca127e39
Backed out changeset 4730eb3ec77a (bug 246620)
2011-12-26 13:19:08 +13:00
Geoff Lankow
8a69f7c287
Bug 246620 - Add line numbers to View Source for Firefox; r=ehsan
2011-11-02 14:05:50 +13:00
William Chen
6040dbfcfa
Bug 497995: Part 3 - Cleanup nsCoord initial value handling. r=dbaron
...
--HG--
extra : rebase_source : 9ed22aa9e24016566fe0e843e6019c4a583ca788
2011-12-22 18:35:02 -05:00
William Chen
d4fa3e33b1
Bug 497995: Part 2 - Update existing border-image tests. r=dbaron
...
--HG--
extra : rebase_source : b9fb3987c8540457fa1f7b3e27420f208207a9c0
2011-12-22 18:34:53 -05:00
William Chen
e1ff790f8b
Bug 497995: Part 1 - Implement border-image revisions in latest css3-background spec. r=dbaron
...
--HG--
extra : rebase_source : 5a6cdac6a4b1353170f23f39dd2a209374e72531
2011-12-22 18:34:45 -05:00
Ryan VanderMeulen
ab86c79137
Bug 712847 - Change declaration to struct to fix MSVC warning. r=bz
2011-12-22 11:50:56 +01:00
Jeff Walden
e5f13d7b5f
Bug 704687 - Mark final classes as MOZ_FINAL, now that nsDerivedSafe no longer exists again. r=dbaron
...
--HG--
extra : rebase_source : f6a25c06275e4fbb2e69462118f242d380bdce03
2011-12-19 13:48:15 -05:00
Jeff Walden
62f48d8793
Bug 711647 - Add MOZ_DELETE to a bunch of deliberately-not-implemented methods across the tree. r=dbaron
...
--HG--
extra : rebase_source : 507006c0f099da6851b585d2062267d285978ad7
2011-12-16 14:42:07 -05:00
Boris Zbarsky
101f2ecf55
Bug 700221. Don't pay attention to whether author color are allowed when deciding whether a change to a non-color property should drop native theming. r=dbaron
2011-12-21 16:53:21 -05:00
aceman
002cb306a6
Bug 711721 - merge nsIScriptError and nsIScriptError2 interfaces; r=neil, sr=bzbarsky
2011-12-21 16:51:29 -05:00
Nicholas Nethercote
24d2c81ee1
Bug 711908 - Fix a bunch of GCC warnings in layout. r=dbaron.
2011-12-19 19:46:39 -08:00
Scott Johnson
aef90f0f50
Backout changeset 93f523345fb6.
2011-12-20 00:01:32 -06:00
Scott Johnson
35fbd86079
Bug 695222 - Implement column-fill part of CSS3 multicol spec. r=roc,dbaron
2011-12-19 23:11:54 -06:00
Scott Johnson
578a640a52
Backed out changeset 74555805376d
2011-12-19 23:08:52 -06:00
Scott Johnson
d6fe638038
Bug 695222 - Implement column-fill part of CSS3 multicol spec. r=roc,dbaron
2011-12-19 22:25:19 -06:00
Nicholas Nethercote
0089711fa7
Bug 707865 - Convert nsTArray::SizeOf() to nsTArray::SizeOfExcludingThis(). r=jlebar.
...
--HG--
extra : rebase_source : d802d58bc7dedda2490878793923adc0ab55f779
2011-12-15 14:59:53 -08:00
Robert O'Callahan
cae8494cd7
Bug 702739. Don't dirty the transformed frame when we reflow it due to a transform change. r=mats
2011-12-19 10:57:27 +13:00
Matt Brubeck
f51deee1fa
Back out bug 710521, bug 672013, bug 702739 because of Mac reftest failures
2011-12-18 08:15:09 -08:00
Robert O'Callahan
092577b79e
Bug 702739. Don't dirty the transformed frame when we reflow it due to a transform change. r=mats
2011-12-18 21:46:39 +13:00
Carlo Alberto Ferraris
fe9d938ce3
Bug 376997 - Images should be rendered against a neutral background. r=bz ui-r=limi
2011-12-14 23:20:47 -08:00
Matt Brubeck
1172cf871a
Back out 97b8cff2764f (bug 376997) for Android reftest failures
2011-12-16 13:10:44 -08:00
Rob Campbell
9cf3cc807d
merge fx-team to m-c
...
--HG--
rename : browser/devtools/styleinspector/test/browser/browser_bug683672.js => browser/devtools/styleinspector/test/browser_bug683672.js
rename : browser/devtools/styleinspector/test/browser/browser_styleinspector.js => browser/devtools/styleinspector/test/browser_styleinspector.js
2011-12-16 14:42:54 -04:00
Carlo Alberto Ferraris
a7950c2f4f
Bug 376997 - Images should be rendered against a neutral background. r=bz ui-r=limi
2011-12-14 23:20:47 -08:00
Masatoshi Kimura
4eadc7baec
Bug 704820 - Simplify nsContentUtils::ReportToConsole. r=smaug
2011-12-15 14:47:03 +00:00
Jet Villegas
825b966f51
Bug 511909. Allow @-rules to nest when parsing CSS. In particular, allow them inside @media and @-moz-document. r=dbaron
2011-12-14 23:42:15 -05:00
Boris Zbarsky
6f4a91a36a
Bug 709256 part 5. Fast-path nsAnimationManager::DispatchEvents when there are no events. r=dbaron
2011-12-14 23:42:15 -05:00
Boris Zbarsky
ea35d340a7
Bug 709256 part 3. Skip calling PresShell::FlushPendingNotifications altogether if there might not be anything to flush. r=roc
2011-12-14 23:42:15 -05:00
Andrew Quartey
6fe0fd072a
Bug 706010 - Remove NS_SPECIALIZE_TEMPLATE and HAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX; r=khuey a=cleanup/removal
2011-12-13 14:17:59 +00:00
Ali Juma
40b68ad93d
Bug 586863 - Eliminate #ifdef GFX_HAS_INVERT blocks since GFX_HAS_INVERT is never defined. r=dbaron
2011-12-09 14:18:05 -05:00
Boris Zbarsky
293c6cddef
Bug 700914. Initialize the rulehash's hashtables lazily. r=dbaron
2011-12-09 05:29:01 -05:00
Nicholas Nethercote
8ea852b335
Bug 705987 - Use mallocSizeOf in the layout memory reporters. r=khuey,bzbarsky
2011-12-08 21:01:52 -08:00
Boris Zbarsky
5da1a0cc40
Bug 689443. Switch PerWeightData back to using linked lists instead of arrays for the actual per-weight rule data, so as to reduce fragmentation. r=dbaron
...
This incidentally fixes a bug where we were copying the per-weight data very inefficiently.
2011-12-08 01:32:11 -05:00
Daniel Holbert
c8d40fef2d
Bug 698967: Fix "lengths" typo in test-descriptions for integer-valued properties in test_transitions_per_property.html. r=dbaron DONTBUILD
2011-12-06 18:49:15 -08:00
Boris Zbarsky
8582f44c33
Bug 704911. Don't restyle based on state selectors that match our node but don't depend on the state that's changing. r=dbaron
2011-12-05 23:58:15 -05:00
Matt Woodrow
1d0b679e9b
Bug 704468 - Reverse rotation direction for rotate3d() transform function. r=dbaron
2011-12-05 11:53:38 +13:00
Simon Montagu
ce40b20333
Add selectors so that block elements with dir also get unicode-bidi: -moz-isolate in the default stylesheet. Bug 676245, r=dbaron
2011-12-04 18:02:10 +02:00
Chris Pearce
d42af5d3c8
Bug 702146 - Move :-moz-full-screen-ancestor to an override style sheet. r=bz
2011-11-30 11:00:31 +13:00
Masatoshi Kimura
5b5e408e95
Bug 627885 - Reduce test_value_cloning test output, r=dbaron
2011-10-30 00:55:00 -07:00
L. David Baron
1e5ca9ce1a
Apply font size inflation to line heights. (Bug 627842, patch 11) r=roc
...
Since font size inflation applies to the text after style data
computation, we must separately apply this inflation to line heights.
2011-11-23 18:48:23 -08:00
L. David Baron
59c0a28be1
Add support for -moz-text-size-adjust CSS property. (Bug 627842, patch 1) r=bzbarsky
...
This property is analogous to the -webkit-text-size-adjust property (and
*maybe* also the -ms-text-size-adjust property). It allows pages to opt
out of text size adjustments performed on mobile devices by specifying
-moz-text-size-adjust: none.
2011-11-23 18:48:23 -08:00
Jeff Walden
df2b7cbc5c
Bug 704127 - Implement MOZ_FINAL as a modifier for classes and virtual member functions. r=cjones
...
--HG--
extra : rebase_source : d95a3b3e726f810f299314358ba8c5e23557698e
2011-11-20 22:21:16 -08:00
Chris Pearce
713e0c074c
Bug 702295 - Don't apply overflow:hidden to full-screen-ancestor chrome roots. r=bz
2011-11-18 15:22:48 +13:00
Rob Campbell
86de2bc601
merge fx-team to mozilla-central
2011-11-15 13:57:15 -08:00
Jared Wein
5147e08f4c
Bug 537718 - Video should scale for a small window. r=dao r=roc
2011-11-14 15:58:41 -08:00
Ed Morley
5db488079f
Backout 15cf68a3c027, 2f403e4c42c8, 61534874aed7, 1cb3705557d9 & 03970d1fc919 (bug 661746) for Win PGO build failures; a=bz
2011-11-14 18:10:22 +00:00
David Zbarsky
1475029a2d
Bug 661746 - Part 5: Avoid creating atoms during selector matching. r=bzbarsky
2011-11-14 16:30:28 +13:00
David Zbarsky
3cf667fd11
Bug 661746 - Part 4: use const nsIDocument in selector matching. r=bzbarsky
2011-11-14 16:30:22 +13:00
David Zbarsky
1e9e43f12d
Bug 661746 - Part 3: Use const selectors during selector matching. r=bzbarsky
2011-11-14 16:30:16 +13:00
David Zbarsky
87c926f7b6
Bug 661746 - Part 2: Make selector matching work with const elements. r=bzbarsky
2011-11-14 16:30:08 +13:00
David Zbarsky
dd2d24bcbf
Bug 661746 - Part 1: Delay setting slow selector flags during selector matching to avoid mutating Elements. r=bzbarsky
2011-11-14 16:29:56 +13:00
David Zbarsky
52ccc4cb61
Bug 660959 - Update link state less lazily r=bz
2011-11-14 16:24:41 +13:00
Jared Wein
87dcb951fa
Bug 700856 - Move styles from {Media,Image,Video}Document to external stylesheets. r=roc, r=dao
2011-11-10 15:08:47 -08:00
Jared Wein
9bda12367b
Bug 700854 - {Media,Image,Video}Document should reference an external stylesheet for use in styling their content. r=roc
2011-11-10 15:08:07 -08:00
Jared Wein
80d13db5c2
Backout changeset 40b0d61c132b due to bad commit message
2011-11-10 15:07:10 -08:00
Jared Wein
8901da2cd9
Backed out changeset b77ec6e8eb8c due to bad commit message
2011-11-10 15:04:12 -08:00
Jared Wein
c6daa04597
Bug 700856 - Move styles from {Media,Image,Video}Document to external stylesheets
2011-11-10 15:02:26 -08:00
Jared Wein
603a938ed2
Bug 700854 - {Media,Image,Video}Document should reference an external stylesheet for use in styling their content
2011-11-10 15:02:21 -08:00
John Daggett
c25a418515
Bug 701262. Fix font redirect request failures. r=sicking
2011-11-11 08:38:23 +09:00
Ed Morley
219d1eb56e
Merge mozilla-central and mozilla-inbound
2011-11-05 18:46:28 +00:00
Ed Morley
7ea8e12caa
Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail
2011-11-05 18:35:59 +00:00
Matheus Kerschbaum
8a393f7f40
Bug 698630 - Remove --disable-smil build option; r=dholbert
2011-11-05 10:32:52 +00:00
Rail Aliiev
ac65d0d88e
Bug 616542 - Shorten file path length of mochitest; r=ted
2011-11-04 21:13:42 +00:00
Henri Sivonen
f4d82459e5
Bug 482921 part 13 - Avoid regressing bug 673094 - RTL characters at the end of attribute values in View Source. r=ehsan.
2011-11-01 13:33:11 +02:00
Boris Zbarsky
36ee7fc855
Bug 700116. Fix the ordering if IsAlternate calls and sheet state determination so that the hashtable munging IsAlternate can do doesn't mess up our sheet states. r=sicking
2011-11-07 23:41:17 -05:00
Ed Morley
909149e93b
Backout changeset 27b8e5fb9699 (bug 700116) for reftest failures; a=philor
2011-11-08 07:38:22 +00:00
Boris Zbarsky
8ecb4f82d6
Bug 700116. Fix the ordering if IsAlternate calls and sheet state determination so that the hashtable munging IsAlternate can do doesn't mess up our sheet states. r=sicking
2011-11-07 23:41:17 -05:00
Chris Pearce
8135f3f193
Bug 685779 - Add -moz-full-screen-ancestor pseudo class. r=bz
2011-11-01 18:11:09 +13:00
Phil Ringnalda
09ebd60a87
Bug 663378 - Define runTest() before the iframe that calls it onload in test_acid3_test46.html, and waitForExplicitFinish, r=dbaron
2011-10-21 23:30:56 -07:00
Daniel Holbert
8ae2d540f6
Bug 641731 tests: reftests for :visited status in image documents. r=dbaron
2011-10-29 02:44:27 -07:00
Daniel Holbert
8ded9164c4
Bug 641731: Ignore :visited status in SVG image documents. r=dbaron
2011-10-29 02:43:43 -07:00
Boris Zbarsky
19437ca0c9
Bug 667576. Handle visited colors correctly in MathML. r=dbaron
2011-10-29 03:04:20 -04:00
Boris Zbarsky
50e24a68bc
Bug 608756. Cache display structs in the ruletree even for floated and positioned elements. r=dbaron
...
The basic idea is that mOriginalDisplay and mOriginalFloats are kept synchronized with mDisplay and mFloats unless the latter are changed due to position:absolute/fixed (for both) or float:left/right (for display). When initializing an nsStyleDisplay from a start struct, we restore the values from mOriginalDisplay/Floats to get correct behavior.
2011-10-29 03:04:20 -04:00
Jonathan Watt
66f54fe5a4
Bug 695303 - Add a mozilla::clamped function to replace NS_CLAMP (so side affects of args are evaluated no more than once) and NS_MIN(max, NS_MAX(val, min)) (to make code clearer). r=bsmedberg.
2011-10-28 19:33:28 +01:00
Mark Banner
18642c515f
Bug 693949 - Drop nsCStringArray. r=bsmedberg
2011-10-28 08:35:45 +01:00
Daniel Holbert
0b7b324d43
Bug 696188 followup: Add assertions and functional test for transitioning away from a transform-list. r=bz
2011-10-27 15:58:05 -07:00
Boris Zbarsky
1c68a1582a
Bug 696233. Switch the nth-index cache to having a single hashtable per selector type (from end vs from start and of-type vs not-of-type). Gives somewhat better cache locality on some workloads and makes entry addition much cheaper because we no longer need to initialize all the new memory when the hashtable store is resized; we just initialize the parts of it we need as we need them. r=smaug
2011-10-26 15:34:20 -04:00
Boris Zbarsky
63d3c04397
Bug 662489. Reorganize the code flow for determining nth-index values. r=smaug
...
There are two changes here. The first is that the aCheckEdgeOnly case is factored out into a separate branch so as to avoid branching on aCheckEdgeOnly inside the sibling loop. This also allows us to reuse the IndexDetermined code for both aIsFromEnd and !aIsFromEnd cases. In particular, when aIsFromEnd we start by walking backwards and hoping for a cached index on a previous sibling and only walking forwards if that fails. For short child lists there's not that much of a difference, but for long ones this is a win.
2011-10-26 15:33:40 -04:00
Boris Zbarsky
97dfd95cc1
Bug 696188. Fix leak when adding different transform lists for animation. r=dholbert
2011-10-25 12:58:35 -04:00
Jesse Ruderman
b90b74eb61
Bug 675553 followup: remove tautologous assertions. r=ehsan
2011-10-24 16:21:09 -07:00
Masatoshi Kimura
270439fd7b
Bug 685400 - add "to" syntax and "magic corner" feature to CSS linear gradient. r=dbaron
...
--HG--
rename : layout/reftests/css-gradients/linear-ref.html => layout/reftests/css-gradients/linear-1-ref.html
rename : layout/reftests/css-gradients/linear.html => layout/reftests/css-gradients/linear-1b.html
rename : layout/reftests/css-gradients/linear-diagonal-1-ref.html => layout/reftests/css-gradients/linear-diagonal-1c.html
rename : layout/reftests/css-gradients/linear-diagonal-2-ref.html => layout/reftests/css-gradients/linear-diagonal-2c.html
rename : layout/reftests/css-gradients/linear-diagonal-3-ref.html => layout/reftests/css-gradients/linear-diagonal-3c.html
rename : layout/reftests/css-gradients/linear-diagonal-4-ref.html => layout/reftests/css-gradients/linear-diagonal-4c.html
rename : layout/reftests/css-gradients/linear-keywords-ref.html => layout/reftests/css-gradients/linear-keywords-1-ref.html
rename : layout/reftests/css-gradients/linear-keywords.html => layout/reftests/css-gradients/linear-keywords-1b.html
2011-10-22 21:41:11 +02:00
Jesse Ruderman
b9769b6f68
Bug 696266 - Add some values to layout/style/test/property_database.js. r=dbaron
2011-10-21 21:03:16 -07:00
Zack Weinberg
954dd90cef
Bug 659963: consistently use infallible malloc in the CSS parser. r=dbaron
2011-05-28 15:38:48 -07:00
Zack Weinberg
a692848510
Bug 543151 part 2: Remove the special (but inconsistent with the error console) handling of hard tabs; small tidiness tweaks. r=dbaron
2011-05-19 15:44:14 -07:00
Zack Weinberg
ac323d6904
Bug 543151 part 1: Remove stream-processing code from nsCSSScanner.cpp. r=dbaron
2011-05-18 10:33:16 -07:00
Marco Bonardo
ea7024ac8c
Merge last green changeset from mozilla-inbound to mozilla-central
2011-10-19 11:47:57 +02:00
Olli Pettay
5a92aedb22
Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 2, r=jst
...
--HG--
extra : rebase_source : 53dc2ec386f6e4147587e6be3c53d297ad71d57a
2011-10-18 14:19:44 +03:00
Olli Pettay
2c2da3099f
Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 1, r=jst
...
--HG--
extra : rebase_source : baf1a25cdea68d499a7673fdf96e27b5a12dc83c
2011-10-18 13:53:36 +03:00
L. David Baron
9d86c5cff9
Update to rules in current css3-mediaqueries spec for handling malformed media queries: all of the handling is now at the query level rather than the query list level. (Bug 689319) r=bzbarsky
...
--HG--
extra : transplant_source : %A1MKm%89%0D%F3%02%0E%1A%16o%97%11%5C%C9%8Ci%1Dk
2011-10-17 16:49:22 -04:00
Simon Montagu
23fcb4824f
Implement unicode-bidi: -moz-plaintext in layout. Bug 662288, r=roc
2011-10-18 14:51:58 +02:00
Simon Montagu
8920dd6e82
Implement unicode-bidi: -moz-isolate in layout. Bug 613149, r=roc
2011-10-18 14:51:57 +02:00
Simon Montagu
738e432597
Support for unicode-bidi: -moz-isolate and -moz-plaintext in style system. Bug 613149, r=dbaron
2011-10-18 14:51:57 +02:00
Ehsan Akhgari
92064e6d3f
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b5e57820bf
Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
...
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Brad Lassey
2a0422ad2e
bug 687265 - Front-end support for flash on Android Fennec r=mbrubeck,blassey,dolske,jst
2011-10-07 13:46:02 -04:00
Jeff Walden
d0532c3e95
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
0f30b277bf
Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
...
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Mats Palmgren
9fc0be400e
Bug 684266 - Do ellipsing on the end-edge only when a single value was specified for text-overflow. r=bzbarsky r=roc
2011-10-12 18:20:46 +02:00
Luke Wagner
f90352c158
Bug 689362 - Create js/public (with the intention that its contents will eventually be the only INSTALLED_HEADERS), move Vector and HashTable to js/public and some dependencies (r=billm,sr=dmandelin)
...
--HG--
rename : js/src/jshashtable.h => js/public/HashTable.h
rename : js/src/jsvector.h => js/public/Vector.h
rename : js/src/mfbt/InlineMap.h => js/src/ds/InlineMap.h
extra : rebase_source : 818639b74653667b7a572bc1234398c0e4559a60
2011-10-04 15:33:00 -07:00
Ms2ger
26145a2767
Bug 693155 - Add parens to clarify operator precedence in TransformFunctionsMatch (nsStyleAnimation.cpp); r=dbaron
2011-10-09 20:23:19 +02:00
Joel Maher
bc68930aaf
Bug 621363 - SpecialPowers ipc setter code does not receive new value locally until next event loop run. r=jdm
2011-10-06 10:51:03 -04:00
Joel Maher
30e9deddd9
Bug 676274 - refactor specialpowers so we can use the api in mochitest-chrome without specialpowers. r=ted, a=test-only.
2011-10-06 10:51:03 -04:00
Boris Zbarsky
46d661d94c
Bug 681755. Switch some of the style system's arrays in hashtables to be auto arrays. r=dbaron
2011-10-05 22:06:37 -04:00
Justin Lebar
9e403ddbf6
Back out 81ca82f27831 (bug 681755) due to incorrect leak reporting.
...
(I accidentally pushed the wrong version of this patch.)
2011-10-05 22:02:44 -04:00
Boris Zbarsky
eb19b99546
Bug 681755. Switch some of the style system's arrays in hashtables to be auto arrays. r=dbaron
2011-09-15 15:21:52 -07:00
Boris Zbarsky
11b5bde3e2
Bug 690990. Don't assert that sheets are not modified when it would be just fine for them to be modified. r=peterv
2011-10-03 15:11:59 -04:00
Matt Woodrow
a20a2599bb
Bug 682919 - Add eCSSKeyword_UNKNOWN terminators to 3d transforms style tables. r=dbaron
2011-10-03 16:59:43 +13:00
Matt Woodrow
5c34b707d7
Bug 505115 - Part 21 - Enable 3D transforms by default. r=roc
2011-09-30 14:39:40 +13:00
Ehsan Akhgari
5e4dbdfba3
Backout changeset 32e9422afd8d (bug 687265) explicitly from mozilla-central
2011-09-29 20:29:11 -04:00
Ehsan Akhgari
4b84fe41d5
Bug 659828 - Part 1: Apply table margins to the outer table frame instead of the inner table frame (also fixes bug 87277); r=dbaron
...
Outer table frames act as CSS2.1 table wrapper boxes. We used to lay them out
without taking their margins into the account, which meant that their width was
always equal to the available width. This breaks horizontal positioning of
absolutely positioned kids of a table frame.
The main purpose of this patch is to apply the margins of tables to their outer
frame, instead of the inner frame. This means that the inner table frame will
always have a zero margin, which means that a lot of the stuff which used to
rely on the fact that table margins are applied to the inner frame need to
change.
In particular, in order to get the computed margins of a table, we used to query
the inner table frame, and this patch corrects that. Also, when shrink wrapping
tables, we used to not take the margins of the inner table frame into account,
which is fixed by this patch too. nsBlockReflowState::
ComputeReplacedBlockOffsetsForFloats also needed to be changed to read the
margin values from the outer frame too.
Also, as part of this patch, we start to respect the CSS2.1 margin model for
captions on all sides. This means that in particular, the top/bottom margins on
the top-outside and bottom-outside captions will not be collapsed with the
top/bottom margins of the table, and that the margins of the caption element
contribute to the width and height of the outer table frame. The
427129-table-caption reftest has been modified to match this new behavior.
Another side effect of this bug is fixing bug 87277, and the reftests for that
bug are marked as passing in this patch.
2011-05-31 19:02:56 -04:00
Ehsan Akhgari
2b29cd6201
Bug 10209 - Part 6: Implement the CSS "containing block" concept correctly as a binary relation, as opposed to a unary relation; r=bzbarsky
2011-05-12 00:04:30 -04:00
Mark Finkle
8bb33dc7e1
Bug 687265 - Front-end support for flash on Android Fennec [r=mbrubeck r=blassey]
...
--HG--
extra : rebase_source : 39d5bb6c6d4d3165dcb10bded80a2aa9da7cb98e
2011-09-29 10:44:03 -04:00
Michael Wu
d2b70213ac
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00