L. David Baron
d56ce864a2
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
53875ecfe7
Remove now-unneeded code from nsComputedDOMStyle. (Bug 93725, patch 3) r=jdaggett
2012-08-29 18:27:01 -07:00
L. David Baron
6630d395ef
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
a06f2bdfbe
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
76432fce46
Bug 732209 part 5. Enforce CORS on stylesheet loads as needed. r=sicking
2012-08-28 13:10:08 -04:00
Boris Zbarsky
ccd4da9732
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
927e2bc32d
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
41ac1056bf
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
a29fbcc5af
Bug 761393 - Cache the gfxPatterns using an nsExpirationTracker and an hashtable. r=dbaron
2012-08-26 21:09:46 -07:00
Paul Adenot
ef774bffba
Bug 761393 - Add a method to hash an nsStyleCoord. r=dbaron
2012-08-26 21:08:32 -07:00
Raphael Catolino
516fde7d59
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
e0fe5ae49b
Bug 785657 - Enable async animations in content processes r=cjones
2012-08-25 21:27:28 -04:00
David Zbarsky
6a9972f334
Bug 785648 - Improve OMTA logging r=cjones
2012-08-25 21:27:28 -04:00
Yury
f71d14e548
Bug 776208 - Plugin preview overlay. r=johns,jaws,margaret, sr=joshmoz
2012-08-25 17:18:44 -04:00
David Zbarsky
cfba0649e3
Fix virtual dtor warning, no bug, blanker r=bz
2012-08-25 12:33:51 -04:00
David Zbarsky
c0abf990e3
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
32785d45f6
Fix a logging message, no bug, r=me
2012-08-25 00:10:47 -04:00
Boris Zbarsky
31276eb444
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
8b4fc28fc2
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
b8603666c1
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
b3e51b2f82
Bug 776208 - Plugin preview overlay. r=johns,jaws,margaret, sr=joshmoz
2012-08-24 16:18:16 -04:00
David Zbarsky
2d8138a241
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
1a68eab98d
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
583084b3a2
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
51f5276dad
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
0fd9123eac
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
a227f14256
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-08-22 10:28:02 +01:00
David Zbarsky
5c1df7f323
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
bd4bdc3b0a
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
91f7a34c34
Bug 783015 - Chrome refreshdriver runs all the time, r=khuey
2012-08-21 16:14:06 -07:00
L. David Baron
62da7d5e53
Treat argument of :-moz-locale-dir() case-insensitively. (Bug 741293) r=smontagu
2012-08-20 22:41:47 -07:00
David Zbarsky
41867d1baa
Bug 783893 - Clean up async animation code r=roc
2012-08-21 00:06:47 -04:00
L. David Baron
d9baa3a527
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
1eef1584d8
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
77d40fe387
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
e428d9fe59
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
06019be17e
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
9cdd0db8cb
Merge mozilla-central to mozilla-inbound
2012-08-15 19:00:48 +01:00
Kyle Huey
715bc01bd2
Bug 780618: Follow up to switch to nsError.h in merged patches. r=me
2012-08-15 06:52:06 -07:00
Kyle Huey
fa127e8648
Merge m-c to b-s.
2012-08-15 06:25:20 -07:00
Kyle Huey
8a5f5bbdf3
No bug: Eradicate some nsnulls.
2012-08-14 13:34:20 -07:00
Kyle Huey
30cef0f1d5
Merge m-c to b-s.
2012-08-14 11:14:40 -07:00
Kyle Huey
4dcafaedea
Bug 697230: Part 3 - Make style images block onload. r=bz
2012-08-13 16:04:17 -07:00
Kyle Huey
0cc1c18795
Bug 697230: Part 1 - Centralize style image observers. r=bz
2012-08-13 15:04:19 -07:00
Honza Bambas
541453729c
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
04236844ff
Bug 782252 - Cast some nsresult to PRUint32; r=ehsan
2012-08-09 11:36:40 +03:00
Aryeh Gregor
1091dc5149
Bug 782252 - Change named constants to correct types; r=ehsan
2012-08-07 18:11:35 +03:00
Robert O'Callahan
bed323fe4c
Backing out f89374c446c2 for build bustage (bug 691591)
2012-08-10 23:55:51 +12:00
Robert O'Callahan
5c9261ecc4
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
91c0802b2f
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
0923bf00ef
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Simon Montagu
4d946e9779
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
3697f5b568
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
7ba6d92396
Bug 655877 - Part 27: Ignore text-shadow in SVG text frames. r=roc
2012-08-08 21:37:13 +10:00
Simon Montagu
5ccf0feb0f
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
4bbe6b1e04
Bug 666041 patch 4: Mochitest for flexbox layout. r=dbaron
2012-08-07 14:32:24 -07:00
Simon Montagu
4ae7b52fd9
Implement the new CSS property value unicode-bidi: isolate-override. Bug 774335, r=dbaron
2012-08-07 01:42:46 -07:00
Simon Montagu
e09f58837c
Changes to tests for bug 774335, r=dbaron
2012-08-07 01:42:45 -07:00
David Zbarsky
42018cc827
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
f41637535d
Bug 780469 - Reduce unnecessary includes in some content/ header files; r=bz
2012-08-06 15:02:08 +03:00
Boris Zbarsky
f21609d807
Bug 753517 part 2.75. Fix the QI impls to not lie. r=bustage
2012-08-06 01:24:43 -04:00
David Zbarsky
d50e4a7565
[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
f914c0dbe4
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
1b8d2356ea
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
ab8c73b485
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
bb5cc2f15d
Bug 765588. Make CSSFontFaceStyleDecl an nsICSSDeclaration. r=dbaron
2012-08-05 22:14:47 -04:00
David Zbarsky
fecc44c62d
Bug 780340 - Allow compositor-driven animations of visibility r=mattwoodrow
2012-08-05 13:03:43 -04:00
Aryeh Gregor
12d310448b
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
427a336683
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
c6b094bee3
Bug 777306 - Remove NS_NewHTMLStyleSheet; r=dbaron
2012-08-04 09:44:01 +02:00
Ms2ger
391cca2e24
Bug 777293 - Remove NS_NewCSSStyleSheet; r=dbaron
2012-08-04 09:44:01 +02:00
Jonathan Kew
83a0c3a21a
bug 721750 - support text-shadow property on ::-moz-selection. r=dbaron
2012-08-04 19:52:21 +01:00
Mike Hommey
6173fa297f
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Ed Morley
bba173e66e
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
c52354cb86
Bug 780340 - Allow compositor-driven animations of visibility r=mattwoodrow
2012-08-04 07:03:47 -07:00
Ms2ger
2529739530
Merge m-c to m-i.
2012-08-04 13:02:15 +02:00
Mike Hommey
4e998b1d36
Backout changeset 2ef51674316a (bug 774032 bonus) for various Mochitest bustages on a CLOSED TREE
2012-08-04 10:38:41 +02:00
Cameron McCormack
6445993a90
Bug 780337 - CSSSupportsRule serialization test fixup. r=burning
2012-08-04 18:08:39 +10:00
Ms2ger
db59149c25
Bug 777306 - Remove NS_NewHTMLStyleSheet; r=dbaron
2012-08-04 09:44:01 +02:00
Ms2ger
eacd737410
Bug 777293 - Remove NS_NewCSSStyleSheet; r=dbaron
2012-08-04 09:44:01 +02:00
Cameron McCormack
b2484ca0f4
Bug 778600 - Indent closing brace when listing GroupRules. r=dbaron
2012-08-04 17:07:03 +10:00
Cameron McCormack
1b89c788a4
Bug 780337 - @supports rule should not parse if property value is empty. r=dbaron
2012-08-04 17:07:03 +10:00
Mike Hommey
17fb6cad2d
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 08:48:56 +02:00
David Zbarsky
e4101ad4dc
Bug 779385 - Help CSS authors diagnose why animations aren't async r=cjones
2012-08-02 23:32:13 -07:00
Cameron McCormack
c819a0d0ac
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
ba7efb66ff
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
f41c8a5fe8
Bug 655877 - Part 14: Ignore float in SVG text frames. r=roc
2012-08-02 21:38:49 +10:00
Cameron McCormack
2145c7b0e5
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
1070e55b13
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
d7f2d311ed
Bug 649740 - Implement @supports. r=dbaron,bz
2012-08-02 10:32:12 +10:00
David Zbarsky
f4b0395707
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
c0fdd4656f
Bug 768440 Part 2: Animate CSS Transitions on the compositor r=roc,dbaron
2012-07-31 10:28:22 -07:00
David Zbarsky
86895a1881
Bug 768440 Part 1: Move ElementTransitions and ElementPropertyTransition to the header r=dbaron
2012-07-31 10:28:21 -07:00
David Zbarsky
f386a1e940
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
b4a0d1de4c
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
79055c4778
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
dbc2cb2b5f
Bug 734953 - Restore transform: skew() support; r=dbaron
2012-07-30 16:48:02 +03:00
Matt Woodrow
73b3aac203
Bug 779010 - Use nsStyleCoord equality operator to compare nsStyleSides and nsStyleCorners. r=dbaron
2012-07-30 19:25:28 -07:00
Ryan VanderMeulen
ed3645f4ca
Merge m-c to inbound.
2012-07-30 20:14:22 -04:00
Mark Finkle
70a01196ec
Backout 169ff207ed19, a34baed70c1b, f9ccdd490bd7, 39550ed860e6, 2194a2dd66b2, 908eb2e26843, a76e0a267f26 due to mobile viewport bustage (bug 778580)
2012-07-30 14:36:12 -04:00