Ehsan Akhgari
8ee5a78089
Bug 882948 - Add widget level support for AeroLite for Winodws Server 2012/2013; r=roc
2013-06-13 18:41:26 -04:00
Andrew McCreight
2bdf1d7bcf
Bug 829817 - Cycle collect nsCSSPageRule. r=dbaron
2013-06-13 15:13:13 -07:00
Ryan VanderMeulen
2dc37e4d26
Backed out changesets a06a3cca82e8 and 711d46a1f67e (bug 849399) for frequent Android reftest-2 failures.
2013-06-12 15:23:23 -04:00
Andrew McCreight
256d2b3df5
Bug 880862 - nsUserFontSet::Destroy() should clear mRules. r=jdaggett
2013-06-11 15:20:04 -07:00
Nicholas Cameron
c1be4ff1f3
Bug 880075. Move def of pts in one scope since it is no longer used in the if statement and add comment; r=dbaron
2013-06-12 17:43:17 +12:00
Nicholas Cameron
24e638c8c5
Bug 849399. Invalidate existing style rule if we start a transition. r=dbaron
2013-06-12 17:39:42 +12:00
Cameron McCormack
da983ad50d
Bug 881339 - Fix bug with descendant selector matching with scoped styles. r=bz
2013-06-12 13:09:33 +10:00
Rick Eyre
73e8300de5
Bug 833382 - Implement WebVTTLoadListener r=cpearce,bz
...
- Implemented WebVTTLoadListener to manage the webvtt parser.
- TextTrackCue now handles the conversion of webvtt nodes to
anonymous content which will be displayed on the video div
overlay.
- HTMLTrackElement manages the lifetime of the WebVTTLoadListener.
2013-06-10 08:30:00 -07:00
Cameron McCormack
0bf730fdcd
Bug 880150 - Treat \<EOF> as U+FFFD outside a string, and drop it inside a string. r=dbaron
2013-06-10 17:04:27 +10:00
Jon Coppeard
d99e2a4f5c
Bug 860573 - Part 2 - Use spare bits of wrapper cache flags for nsINode r=smaug
2013-06-08 09:54:59 +01:00
Michael Wu
a6e67842ea
Bug 771551 - Add CSS Media Query for physical home buttons, r=heycam
2013-06-05 22:42:02 -04:00
David Zbarsky
d77041b7f4
Bug 788549 Part 12: Add tests for async transform transitions r=dbaron
2013-06-04 20:11:56 -07:00
David Zbarsky
faac9cb8d1
Bug 788549 Part 11: Refactor test_transitions_per_property in prepartion for async tests r=dbaron
2013-06-04 20:11:56 -07:00
L. David Baron
0d7c65f066
Bug 879255: Refactor fix for bug 613888, step 4: consolidate conditions, and reindent (and fix bracing while doing so). r=nrc
2013-06-05 09:35:52 +09:00
L. David Baron
a2ee7a3aa1
Bug 879255: Refactor fix for bug 613888, step 3: move no-change test earlier so that we don't have to clutter conditions between the new location and old with logic to fall through to it. r=nrc
2013-06-05 09:35:52 +09:00
L. David Baron
15d66b191a
Bug 879255: Refactor fix for bug 613888, step 2: consolidate oldPT variable. r=nrc
2013-06-05 09:35:52 +09:00
L. David Baron
ea308f7478
Bug 879255: Refactor fix for bug 613888, step 1: create haveCurrentTransition variable. r=nrc
2013-06-05 09:35:52 +09:00
Jared Wein
fa3936637d
Bug 879131 - Use prefix-less zoom-in and zoom-out CSS property values. r=ms2ger
2013-06-04 17:41:31 -04:00
Rick Eyre
76072f4667
Bug 772321 - Implement CSS parsing of writing-mode r=dbaron
2013-05-28 12:00:49 -04:00
Michael Harrison
947ff9b473
Bug 772153 - Add support for unprefixed cursor:zoom-in/out. r=bz
2013-06-03 08:49:38 -04:00
Scott Johnson
51f6ad7ea1
Bug 730559: Limit the number of columns during layout of column sets to prevent hang. [r=mats]
...
In nsRuleNode, when we parse a number of columns from a CSS style sheet, we enforce
a rule that the number of columns cannot exceed 1000. This patch simply enforces
the same rule when we decide that the column count will be generated based on
the available width (e.g. the column-count property has a value of 'auto').
2013-05-31 10:51:43 -05:00
David Zbarsky
07bd637224
Bug 788549 Part 6: Remove a redundant if check r=dbaron
2013-05-30 17:45:17 -07:00
Simon Sapin
36da360d2c
Bug 875287 - font-family: Do not require whitespace between unquoted idents. r=dbaron
...
When 'font-family' is secified with unquoted identifiers rather than a quoted string, a single space should be inserted between identifier tokens, even if they are separated by a comment rather than a whitespace token.
2013-05-30 08:10:02 -04:00
L. David Baron
b31121a2a1
Bug 234485: Map xml:lang attribute into style so that it's used for font selection and hyphenation. r=bzbarsky
...
The code in nsHTMLStyleSheet implements LangRule to map xml:lang into
style and the code to manage its uniqueness.
The change to nsGenericHTMLElement fixes the mapping of the HTML lang
attribute to do cascading the way all other rule mapping does so that
the cascading works correctly.
The tests test that the correct style language is used for hyphenation
by copying over a set of hyphenation reftests that check its basic
response to languages. There are no specific tests for font selection,
but font selection is known to use the same language data from style.
I verified manually (see other attachments to bug) that the rule
uniqueness is being managed correctly.
--HG--
rename : layout/reftests/text/auto-hyphenation-1.html => layout/reftests/text/auto-hyphenation-xmllang-1.xhtml
rename : layout/reftests/text/auto-hyphenation-10.html => layout/reftests/text/auto-hyphenation-xmllang-10.xhtml
rename : layout/reftests/text/auto-hyphenation-1.html => layout/reftests/text/auto-hyphenation-xmllang-11a.xhtml
rename : layout/reftests/text/auto-hyphenation-1.html => layout/reftests/text/auto-hyphenation-xmllang-11b.xhtml
rename : layout/reftests/text/auto-hyphenation-4.html => layout/reftests/text/auto-hyphenation-xmllang-12a.xhtml
rename : layout/reftests/text/auto-hyphenation-4.html => layout/reftests/text/auto-hyphenation-xmllang-12b.xhtml
rename : layout/reftests/text/auto-hyphenation-1.html => layout/reftests/text/auto-hyphenation-xmllang-13a.xhtml
rename : layout/reftests/text/auto-hyphenation-1.html => layout/reftests/text/auto-hyphenation-xmllang-13b.xhtml
rename : layout/reftests/text/auto-hyphenation-4.html => layout/reftests/text/auto-hyphenation-xmllang-14a.xhtml
rename : layout/reftests/text/auto-hyphenation-4.html => layout/reftests/text/auto-hyphenation-xmllang-14b.xhtml
rename : layout/reftests/text/auto-hyphenation-1a.html => layout/reftests/text/auto-hyphenation-xmllang-1a.xhtml
rename : layout/reftests/text/auto-hyphenation-2.html => layout/reftests/text/auto-hyphenation-xmllang-2.xhtml
rename : layout/reftests/text/auto-hyphenation-3.html => layout/reftests/text/auto-hyphenation-xmllang-3.xhtml
rename : layout/reftests/text/auto-hyphenation-4.html => layout/reftests/text/auto-hyphenation-xmllang-4.xhtml
rename : layout/reftests/text/auto-hyphenation-5.html => layout/reftests/text/auto-hyphenation-xmllang-5.xhtml
rename : layout/reftests/text/auto-hyphenation-6.html => layout/reftests/text/auto-hyphenation-xmllang-6.xhtml
rename : layout/reftests/text/auto-hyphenation-7.html => layout/reftests/text/auto-hyphenation-xmllang-7.xhtml
rename : layout/reftests/text/auto-hyphenation-8.html => layout/reftests/text/auto-hyphenation-xmllang-8.xhtml
rename : layout/reftests/text/auto-hyphenation-9.html => layout/reftests/text/auto-hyphenation-xmllang-9.xhtml
2013-05-30 16:00:20 +08:00
David Zbarsky
cab7c337c7
Bug 788549 Part 5: Add a function to get opacity and transform property values from layers r=roc
2013-05-29 17:38:27 -07:00
Boris Zbarsky
1c76a8045c
Bug 876725. Make use of IDL default string values in CSSStyleDeclaration to simplify the code. r=smaug
2013-05-29 16:15:50 -04:00
Arnaud Sourioux
043b0fd84c
Bug 875367: Annotate ~280 more methods with MOZ_OVERRIDE in /layout. r=dholbert
2013-05-29 12:37:49 -07:00
Ralph Giles
92d30af9b2
Bug 875305 - Replace slow webvtt caption selectors with classes. r=bz
...
We set the class caption-box class on the anonymous div which
acts as the parent container for the captions overlayed on
the video frame.
caption-text isn't currently used, but will be applied to
child elements by when bug 833382 lands.
2013-05-28 13:55:00 -07:00
L. David Baron
07bcc6b3a9
Bug 815408: Ignore CSS transitions and animations in print and print preview. r=bzbarsky
...
Note that this patch has a little bit of a belt-and-braces aspect to it.
In each file, either one of the changes should be sufficient, but one of
them prevents us from doing unneeded work and the other one ensures that
we never apply style resulting from transitions and animations even if
somehow we do that work.
Also note that the tests don't actually test anything usefully, since
the reftest harness doesn't currently make the pres context non-dynamic.
(Thus they're marked as failing.) I'm not sure what I should do about
that, though I'm considering just deleting the tests entirely.
2013-05-29 14:36:39 +08:00
L. David Baron
817f7af583
Bug 876570: Add missing UngetToken() call in an+b microsyntax parsing. r=bzbarsky
2013-05-29 14:36:39 +08:00
L. David Baron
bbcd59d515
Additional tests for bug 750388. No review.
2013-05-28 12:12:06 +08:00
Thomasy
a58861a388
Bug 750388: In an+b microsyntax in :nth-child() etc., allow starting with +n and allow comments at all token boundaries rather than requiring the strange tokens that result from lack of comments or spaces. r=dbaron
2013-05-28 12:12:06 +08:00
Mike Shal
994cfe0b6b
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
...
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Jon Coppeard
8a68ce4b84
Bug 874691 - Make CC participant tracing indirect r=mccr8 r=smaug r=bz
2013-05-27 12:50:49 +01:00
Cameron McCormack
89eacf7637
Bug 876127 - Assert if we do not look at all style structs in nsStyleContext::CalcStyleDifference. r=dbaron
2013-05-27 16:48:19 +10:00
Jonathan Watt
e3c9a4e30c
Bug 875037 - Fix lots of bugs in nsStyleSVG/nsSVGStyleReset::CalcDifference so that they return the correct hints. r=roc
2013-05-24 18:31:33 +01:00
Ehsan Akhgari
07be28096e
Backed out changeset 831c1928fba9 (bug 875037) for mochitest-1 assertions on a CLOSED TREE
2013-05-24 16:03:03 -04:00
Jonathan Watt
e32e84eecb
Bug 875037 - Fix lots of bugs in nsStyleSVG/nsSVGStyleReset::CalcDifference so that they return the correct hints. r=roc
2013-05-24 18:31:33 +01:00
Nicholas Cameron
6f4b63ac78
No bug - fix incorrect comment on nsStyleAnimation::UncomputeValue r=me
2013-05-24 22:19:28 +08:00
Daniel Holbert
16af4d9e41
Bug 585185: Parse font-sizes as non-negative, in 'font' shorthand. r=dbaron
2013-05-24 09:39:03 +08:00
Boris Zbarsky
d5eec49092
Bug 867487. Make sure we don't think we're cloning a complete sheet when we're actually cloning a loading one because the complete sheet was dirty. r=dbaron
2013-05-23 09:20:52 -04:00
Mounir Lamouri
cb1c146f85
Bug 874600 - Make <input type='file'> label colour inherits from the parent's colour. r=bz
2013-05-23 14:09:45 +01:00
David Zbarsky
8be3c4aca0
Bug 788549 Part 1: Throttled animations should not claim that their style rule is up to date r=dbaron, nrc
2013-05-23 16:43:22 +08:00
David Zbarsky
b566791862
Bug 788549 Part 3.5: Make nsComputedDOMStyle::MatrixToCSSValue public so we can actually use it r=me
2013-05-23 16:41:40 +08:00
David Zbarsky
3808e98945
Bug 788549 Part 3: Refactor nsComputedDOMStyle::DoGetTransform r=dbaron
2013-05-23 15:09:27 +08:00
David Zbarsky
2f64ae6ac3
Bug 788549 Part 2: Remove nsComputedDOMStyle::GetROCSSPrimitiveValue r=dbaron
2013-05-23 15:09:26 +08:00
David Zbarsky
4913e4b3a3
[Bug 875204] Merge OMTA prefs r=nrc
2013-05-23 15:09:26 +08:00
L. David Baron
94e83383a2
Bug 511803 patch 2: Convert all eCSSUnit_Function storage to use nsCSSKeyword. This leads to one behavior change, which is case canonicalization for font-variant-alternates function values. r=bzbarsky
...
--HG--
rename : layout/style/test/test_bug721136.html => layout/style/test/test_specified_value_serialization.html
2013-05-23 09:08:29 +08:00
L. David Baron
c20442a73d
Bug 511803 patch 1: Fix serialization of font-variant-alternates values with more than one function. (Tested in patch 2.) r=jdaggett
2013-05-23 09:08:29 +08:00
Sebastian Wong
98b3dd614a
Bug 563884 - Add styling for the link tag and add reftests. r=bz
2013-05-22 07:58:09 -04:00
David Zbarsky
8c198c4399
Bug 874770 - Always enable OMTA throttling r=nrc
2013-05-22 18:31:03 +08:00
Jonathan Kew
7160043c3a
bug 874349 - cached webfonts that were loaded in private browsing mode should not leak out to normal windows. r=ehsan,roc
2013-05-22 14:42:30 +08:00
Jonathan Kew
676e01f94f
bug 862222 pt 1 - bypass the webfont cache when force-reloading the page. r=roc
2013-05-22 12:39:39 +08:00
Daniel Holbert
c5ae959774
Bug 864553 part 2: Minor cleanup to formerly-ifdef-MOZ_FLEXBOX code. r=dbaron
2013-05-22 11:44:52 +08:00
Daniel Holbert
cc7305fa0e
Bug 864553 part 1: Remove ifdefs for MOZ_FLEXBOX and configure.in MOZ_FLEXBOX chunk. r=dbaron
2013-05-22 11:44:25 +08:00
Olli Pettay
c1bbed37d1
Bug 865511, make sure to keep track on the right imgIRequest in ImageLoader, r=khuey
...
--HG--
extra : rebase_source : 55ac3f73c0c6cb9440e662ffa34ddcd596a61627
2013-05-21 15:43:02 +03:00
Bobby Holley
aef9decad9
Bug 871887 - Make sure |this|-binding is correct or marquee event listeners. r=bz
2013-05-20 11:33:49 -06:00
John Daggett
f146fdebf7
Bug 549861 - add missing files from reland patch. r=bustage
2013-05-20 12:47:32 +09:00
John Daggett
18ea34f1e4
Bug 549861 - reland font-variant subproperties with DOM-peer review. r=khuey
2013-05-20 11:59:20 +09:00
Ms2ger
1bc3a7f29b
Merge backout.
2013-05-19 20:26:58 +02:00
Ms2ger
c80e8cd5c6
Backout bug 549861 (changesets 27fb48df15ce:7ecd4e3863b4) for insufficient review.
2013-05-19 20:23:19 +02:00
John Daggett
bddaba27de
Bug 549861. Alias unprefixed versions of font-feature-settings and font-language-override. r=dbaron
2013-05-13 18:45:38 +09:00
John Daggett
54f6e3ae74
Bug 549861. Changes based on review comments for parsing of font-variant-alternates. r=dbaron
2013-05-13 18:45:38 +09:00
John Daggett
935216a597
Bug 549861. Implement support for @font-feature-values rule. r=dbaron
2013-05-13 18:45:37 +09:00
John Daggett
633de7d681
Bug 549861. Implement CSS parsing of font-variant-alternates. r=dbaron
2013-05-13 18:45:37 +09:00
John Daggett
7b0b7f608c
Bug 549861. Parse simple font-variant subproperties. r=dbaron
2013-05-13 18:45:36 +09:00
Ed Morley
36fb30076b
Backed out changeset 496846474ed3 (bug 864774)
2013-05-13 10:05:49 +01:00
Mike Shal
02469b68e2
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey
...
From 140b9201e3b5d2d8efe7af286d279c2411dbc197 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Mounir Lamouri
7d8984e3e9
Bug 52500 - Allow styling <input type='file'> like any other form control. r=bz
...
--HG--
rename : layout/reftests/forms/input-file-width-clip-ref.html => layout/reftests/forms/input/file/input-file-width-clip-ref.html
rename : layout/reftests/forms/input-file-width-clip-1.html => layout/reftests/forms/input/file/input-file-width-clip.html
2013-05-17 18:40:14 +01:00
Jonathan Watt
c8d8188483
Bug 864120 - Use a display list item to create the focus ring for <input type=range>. r=roc
2013-04-22 10:11:56 +01:00
Nathan Froyd
eba34f22d7
Bug 858131 - rewrite FloatingPoint.h to be C++-only instead of C-compatible C++; r+original-author=Waldo
2013-05-01 16:55:13 -04:00
L. David Baron
ebc416432f
Bug 868751: Remove support for obsolete document.createEvent("AnimationEvent"), document.createEvent("TransitionEvent"), AnimationEvent.initAnimationEvent, and TransitionEvent.initTransitionEvent. r=smaug
2013-05-08 13:45:35 -07:00
Mats Palmgren
10834724ee
Bug 867530 - Make the current poison consumers use the new API. r=roc
2013-05-07 20:48:59 +02:00
Jeff Muizelaar
8d12260f42
Bug 868557. Explicitly unalias list in nsStyleContext::AddChild() r=dbaron
...
Clang and GCC probably MSVC are not able to unalias list because they don't
realize that mEmptyChild and mChild can't alias mNextSibling and mPrevSibling.
If we explicitly dereference list we get better code, saving 3 instructions
with clang.
2013-05-06 11:05:44 -04:00
Phil Ringnalda
fedf6c0df7
Merge m-c to m-i
2013-05-05 12:17:07 -07:00
Olli Pettay
f33e51b234
Bug 848293 - Update AnimationEvent to be compatible with the spec, r=dbaron
...
--HG--
extra : rebase_source : 04f2cb9c5aa56549da0af3c722b35f3dab5746c3
2013-05-05 16:22:29 +03:00
Ms2ger
89a7551507
Bug 868729 - Remove nsHTMLCSSStyleSheet::Init; r=bz
2013-05-05 09:03:20 +02:00
Olli Pettay
91dc94d9b8
Bug 848291 - Update TransitionEvent to be compatible with the spec, additional patch for the test, r=dbaron
2013-05-04 18:24:09 +03:00
Olli Pettay
37b3f6b0d9
Bug 848291 - Update TransitionEvent to be compatible with the spec, r=dbaron
2013-05-04 17:41:20 +03:00
Daniel Holbert
8618452256
Bug 867454: Treat a flex container's ::before and ::after generated content nodes as flex items. r=bz
2013-05-02 14:04:47 -07:00
Stephen Pohl
c997f428ce
Bug 636564 - Implement lion style scrollbars on Mac OSX 10.7+; r=roc
2013-05-02 10:58:00 -04:00
Aryeh Gregor
d183f6f9bc
Bug 859817 - Make nsStringBuffer::Alloc return already_AddRefed; r=bz
2013-04-22 14:13:22 +03:00
Ian Melven
48879dbfb8
Bug 763879 - implement inline stylesheet blocking for CSP (r=dbaron)
2012-08-30 10:58:24 -07:00
Ryan VanderMeulen
dcdda90f46
Backed out 2 changesets (bug 763879, bug 842657) for landing with an r-. DONTBUILD
...
Backed out changeset 254c1ac4ab8b (bug 842657)
Backed out changeset 58a2011beeac (bug 763879)
2013-05-16 11:15:07 -04:00
Ian Melven
6937a45eae
Bug 763879 - implement inline stylesheet blocking for CSP (r=dbaron)
2012-08-30 10:58:24 -07:00
Ted Mielczarek
110919af49
bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium
2013-05-16 09:33:26 -04:00
Cameron McCormack
5cffb9cbd6
Bug 839103 - Part 11: Add StyleRule{Added,Removed,Changed} events. r=bz
2013-05-16 17:13:36 +10:00
Phil Ringnalda
2cef52d052
Back out 4d755ea39a56:81d152795bea (bug 798843) for style mochitest failures
2013-05-15 20:53:30 -07:00
Cameron McCormack
c52dedd328
Bug 872111 - Make test_rule_insertion.html more tolerant to text measurements. r=bz
2013-05-16 13:27:03 +10:00
Edwin Flores
2481d41e58
Bug 798843 - Test to check that context-* attribute values are not valid when gfx.font-rendering.opentype_svg.enabled pref is false r=dbaron
2013-05-16 14:35:15 +12:00
Edwin Flores
2107f8d1f5
Bug 798843 - Rename -moz-objectFill, -moz-objectStroke, -moz-objectValue to context-fill, context-stroke, context-value r=dbaron
2013-05-16 14:35:15 +12:00
Bobby Holley
f16fc9fb32
Bug 871887 - Fix marquee _setEventListener. r=bz
2013-05-15 18:59:53 -07:00
Boris Zbarsky
2055c25036
Bug 870845. Correctly check for parse-inaccessible properties in inDOMUtils::GetCSSPropertyNames. r=heycam
2013-05-14 14:20:58 -04:00
Ryan VanderMeulen
01613554be
Backed out 4 changesets (bug 869195, bug 870845, bug 872043, bug 862825) for mochitest b-c, mochitest-other, and xpcshell orange on a CLOSED TREE.
...
Backed out changeset 049889b25a79 (bug 869195)
Backed out changeset fc0bef5a2cfd (bug 862825)
Backed out changeset 267fe0d9c201 (bug 870845)
Backed out changeset 7b06b9d1acb2 (bug 872043)
2013-05-14 16:40:26 -04:00
Boris Zbarsky
d5b9a00b6b
Bug 870845. Correctly check for parse-inaccessible properties in inDOMUtils::GetCSSPropertyNames. r=heycam
2013-05-14 14:20:58 -04:00
Arnaud Sourioux
9a8c47ea32
Bug 870516: Annotate ~600 more methods with MOZ_OVERRIDE in /layout r=dholbert
2013-05-14 09:33:23 -07:00
Jonathan Kew
f88d6ce33e
bug 857089 - backout changeset b85353b6cc38 pending revised UI for the feature
2013-05-01 10:12:41 +01:00
Bobby Holley
e2f2b4cc3d
Bug 865947 - Force all string event handlers to be evaluated in the content scope. r=jaws,bz
2013-04-29 14:37:36 -07:00
Masatoshi Kimura
761bf787f0
Bug 859018 - Remove the MSVC exemption for FAIL_ON_WARNINGS in layout. r=dbaron
2013-04-28 19:02:35 +09:00
Aryeh Gregor
659b807986
Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger
2013-04-22 14:15:59 +03:00
Boris Zbarsky
9c1973b5d2
Bug 864727 part 5. Make all the WrapObject methods take a handle for the scope object. r=ms2ger
2013-04-25 12:29:54 -04:00
Boris Zbarsky
b4d550d2d0
Bug 799816. Try to not have preload sheets (or other unreferenced sheets) hanging out in our mCompleteSheets hashtable. r=dbaron
2013-04-24 14:59:14 -04:00
Brandon Waterloo
9af2bc9909
Bug 862117 - Move CSS rule classes relevant to image documents for cursor appearance (zoom in / zoom out) into layout/style/ImageDocument.css. r=roc, r=jaws
...
This stylesheet applies to all ImageDocuments, including those in frames. In old location for CSS rules, some full themes would not show cursors correctly, nor would ImageDocuments in frames. Image rotation CSS rule classes moved to layout/style/TopLevelImageDocument.css.
2013-04-21 18:29:14 -04:00
Boris Zbarsky
7ce2c375f9
Bug 862113. Fix test for CSS2 pseudo-elements to not trigger assertions. r=dholbert
2013-04-18 01:21:46 -04:00
Mike Shal
77cdb6567d
Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey
2013-04-16 15:24:43 -04:00
Daniel Holbert
eef75b0252
Bug 847211: When reparenting style contexts, skip flex-item style fixup if our element is the root of an anonymous subtree. r=bz
2013-04-16 08:33:41 -07:00
Masatoshi Kimura
145b5b5cd1
Bug 860180 - Prefer UTF-16BE/LE to UTF-16. r=hsivonen
2013-04-16 21:19:29 +09:00
Mats Palmgren
cdbcd9c96c
Bug 856368 - Merge nsPresArena::mState into nsPresArena itself. r=roc
2013-04-15 22:00:06 +02:00
Masayuki Nakano
d148b78956
Bug 857820 part.1 Drop blink effect implementation r=dbaron
2013-04-14 19:11:07 +09:00
Joshua Cranmer
c7aade5e1f
Bug 856108 - Port static analyses to clang, part 2e: use MOZ_STACK_CLASS in layout. r=mats
2013-04-11 22:20:45 -05:00
Stephen Pohl
21bdf5ab95
Bug 678392 - Add support for swipe animation as in Safari. r=smichaud,jaws,felipc
2013-04-09 14:44:01 -05:00
Cameron McCormack
d8dfb08d58
Bug 848973 - Make nsStyleDisplay::IsBlockInside() and friends work only on style structs for the passed in frame and document them. r=roc
...
--HG--
extra : rebase_source : a8559b62124bec058f2857d50cf7f65f176c3727
2013-04-07 09:40:07 +10:00
Ed Morley
58535dec7f
Backed out changeset dc4066373f5a (bug 849399) for failures in test_bug451286.xul
2013-04-09 11:45:13 +01:00
Nicholas Cameron
8ebed6de44
Bug 849399. Invalidate existing style rule if we start a transition. r=dbaron
2013-04-09 21:09:11 +12:00
Masatoshi Kimura
a7b906a433
Bug 771975 - Remove -moz-prefixed gradients usage from rest of the tree. r=roc
2013-04-09 07:44:26 +09:00
Trevor Saunders
5143df6d46
bug 856779 - make nsStyleSet::Init() return void r=dholbert
2013-03-31 18:08:29 -04:00
Ms2ger
b47eb946ce
No bug - Remove Windows line endings from layout/style/AnimationCommon.cpp.
2013-04-06 22:16:46 +02:00
David Creswick
d2652476ca
Bug 856317 - Expose the column number of style rules via inIDOMUtils. r=dbaron
2013-04-06 12:38:56 -05:00
Scott Johnson
c62902604e
Bug 520992, Followup 1: Simplify code in nsDOMComputedStyle for box-sizing adjustment for clarity. [r=me]
2013-04-04 13:54:05 -05:00
Nathan Froyd
9e85c7ddcf
Backout 5820d44601c1 (bug 520992) for build bustage
2013-04-05 11:52:59 -04:00
Scott Johnson
1f3eeb1123
Bug 520992, Followup 1: Simplify code in nsDOMComputedStyle for box-sizing adjustment for clarity. [r=me]
2013-04-04 13:54:05 -05:00
Robert O'Callahan
6651accbe4
Bug 841192. Part 1: Make <frame> elements behave more like <iframe>s, in particular supporting padding and borders (but not border-radius). r=mats
...
--HG--
extra : rebase_source : b49a430b7a54bc0579f4f109afa001634a2b8930
2013-04-03 00:03:03 +13:00
Scott Johnson
9c48be5165
Bug 520992: Adjust computed width and height before returning to account for box-sizing. [r=bz]
2013-04-04 09:00:07 -05:00
Mounir Lamouri
550eb0ad4e
Bug 857536 - Cleanup the CSS properties applied on <input type='file'> from forms.css. r=bz
2013-04-04 10:39:29 +01:00
Jonathan Watt
023c73bf41
Bug 857034 - Add support for native theming of <input type=range> on Windows. r=roc
2013-04-03 11:07:12 +01:00
John Daggett
ed2f58da5f
Bug 856402 - null-check the result of GetParentStyleSheet. r=dbaron
2013-04-03 15:13:17 +09:00
Trevor Saunders
6572aa38f8
bug 856794 - don't check the return value of nsTArray::EnsureLengthAtLeast() r=heycam
2013-04-01 16:54:20 -04:00
Cameron McCormack
9cda9d27bf
Bug 856879 - Remove constructor arguments argument from style struct macros. r=dbaron
2013-04-02 12:45:48 +11:00
Seth Fowler
5d07bae2f4
Bug 811403 (Part 1) - Take scrollbars into account for viewport units if 'overflow: scroll' is set. r=dbaron
2013-04-01 17:02:57 -07:00
Trevor Saunders
251739cae0
bug 856705 - fix layout/style/ SwapElements() callers to not look at the return value r=bz
2013-04-01 13:46:26 -04:00
Kyle Machulis
5aa83c3e11
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693
Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot
2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
...
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Mounir Lamouri
ae5d0ee136
Bug 839788 - Switch Browse button from an <input> to a <button>. r=bz
2013-03-29 12:32:47 +00:00
Ryan VanderMeulen
372ed9fb2e
Backed out changeset fa9cde226b2a (bug 839788) for breaking mochitests the same way it did the first time it landed on a CLOSED TREE.
2013-03-28 21:17:42 -04:00
Mounir Lamouri
5b8eb7518f
Bug 839788 - Switch Browse button from an <input> to a <button>. r=bz
2013-03-28 11:24:14 +00:00
Jonathan Watt
517e3b12aa
Bug 855301 - Add support for native theming of <input type=range> on Linux. r=roc
2013-03-28 20:25:05 +00:00
Ryan VanderMeulen
d7d90b559c
Backed out changeset f0b16aba4df7 (bug 839788) for mochitest failures on a CLOSED TREE.
2013-03-28 08:49:04 -04:00
Mounir Lamouri
04c2037b50
Bug 839788 - Switch Browse button from an <input> to a <button>. r=bz
2013-03-28 11:24:14 +00:00
Daniel Holbert
c75c7b98dd
Bug 848539 part 6: Back out ff0658329dbd, bug 763689 part 1 (CSS parser support for min-width:auto & min-height:auto). r=dbaron
2013-03-27 23:33:19 -07:00
Daniel Holbert
b4e66452e3
Bug 848539 part 5: Back out 6bb37077d615, bug 763689 part 2 (style-system handling for min-width:auto). r=dbaron
2013-03-27 23:33:19 -07:00
Daniel Holbert
32bce336fe
Bug 848539 part 4: Back out 82f73bdb2237, bug 763689 part 3 (style-system handling for min-height:auto). r=dbaron
2013-03-27 23:33:19 -07:00
Daniel Holbert
c47c48ab7d
Bug 848539 part 2: Back out de6a5c46a8ff, bug 666041 part 8 (special-handling for min-width:auto as min-content, for flex items). r=dbaron
2013-03-27 23:33:19 -07:00
Daniel Holbert
de89ad4fd5
Bug 848539 part 1: Back out ed5120ffd118 from bug 794748 (mochitest for min-width:auto). r=dbaron
2013-03-27 23:33:18 -07:00
Boris Zbarsky
2c63b9ebb9
Bug 607441 part 2. Mark the scoped sheet rule processor dirty when author styles are enabled or disabled. r=dbaron
2013-03-27 22:47:26 -04:00
Boris Zbarsky
aa6fd1d340
Bug 607441 part 1. Don't disable SVG presentational attributes when page styles are disabled. r=dbaron,jwatt
2013-03-27 22:47:25 -04:00
Jonathan Watt
2c85ff8dcf
Bug 854538 - Add a ::-moz-range-progress pseudo-element to <input type=range> for Firefox OS. r=dholbert
2013-03-26 23:04:41 +00:00
Mounir Lamouri
5663a2096f
Bug 762270 - Align the file name to the right when direction is RTL. r=smontagu
2013-02-13 14:47:59 +00:00
Mounir Lamouri
3473000c3d
Bug 838694 - Move the text showing the file name to the right of the browse button. r=bz
2013-02-09 15:09:14 +00:00
Mounir Lamouri
01c5c4a59d
Bug 345195 - Replace the anonymous <input type='text'> in <input type='file'> by a xul:label. r=bz
2013-02-09 14:57:30 +00:00
Phil Ringnalda
bad5ef10f3
Back out c04824522d46 (bug 848973) for (at least) 10.8 and Android reftest failures
...
CLOSED TREE
2013-03-26 23:31:57 -07:00
Cameron McCormack
3b054d3f86
Bug 848973 - Document what aFrame means in nsStyleDisplay::IsBlockInside() and friends. r=roc
2013-03-27 15:49:56 +11:00
Daniel Holbert
134870baba
Backout e912de49c12b (Bug 854538) due to M5 & crashtest oranges on a CLOSED TREE
2013-03-26 17:28:14 -07:00
Jonathan Watt
2cdfef6c8b
Bug 854538 - Add a ::-moz-range-progress pseudo-element to <input type=range> for Firefox OS. r=dholbert
2013-03-26 23:04:41 +00:00
Jonathan Watt
71d7e34437
Bug 840820 - Make <input type=range> display as a vertical slider if it has an orient="vertical" attribute. r=mounir
2013-03-26 13:54:05 +00:00
William Chen
9ec88d1fbb
Bug 818976 - Part 2: Implement template element interface. r=mrbkap,bz
2013-03-26 00:15:23 -07:00
Daniel Holbert
c6597c02f3
Bug 473236, 2013 edition: Remove executable bit from files that clearly don't need it (html, xhtml, xul, svg, png, jpg, ttf files in test dirs within /layout). DONTBUILD
2013-03-25 17:01:35 -07:00
Benoit Girard
fc10a7cfe4
Bug 851611 - Part 3: Rename headers. r=jrmuizel
...
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 6ea7c660764a4390cdd8dd91561fff1d7bad6035
2013-03-18 15:25:50 +01:00
Benoit Girard
9d12529d78
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
...
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
L. David Baron
e4467b2d8c
Bug 849657: Fix bustage from changeset eb8d19e9c838.
2013-03-25 09:34:23 -07:00
L. David Baron
cde2c0f7b6
Bug 849657 patch 2: Change internal uses of 'CssFloat' to 'Float'. r=bzbarsky
2013-03-25 09:24:21 -07:00
L. David Baron
0caa71f669
Bug 849657 patch 1: Expose CSS_PROP_PUBLIC_OR_PRIVATE macro to users of nsCSSPropList.h rather than CSS_PROP_DOMPROP_PREFIXED, so that we can avoid 'CssFloat' spreading even further. r=bzbarsky
2013-03-25 09:24:21 -07:00
Cameron McCormack
35661a5229
Bug 842142 - Prevent odd text wrapping in SVG text. r=roc
2013-03-25 14:50:59 +11:00
Joshua Cranmer
969dfd9705
Bug 767563 - Add a clang static checker, part 3: Move the MOZ_MUST_OVERRIDE macro to MFBT. r=Waldo
2013-03-23 21:14:43 -05:00
Mats Palmgren
a98c0cde58
Backout rev 85397e0a6dba - wrong patch. r=me
2013-03-23 21:45:53 +01:00
Mats Palmgren
56ef5c292e
Bug 851847 - Optimize nsBlockFrame::StealFrame when removing a normal flow child. r=bzbarsky
2013-03-23 21:10:34 +01:00
Daniel Holbert
efb17f8a4b
Bug 782441 part 2: Tweak ua.css to make flex container properties inherit to ::-moz-scrolled-content, so that flex containers with "overflow" set will honor those properties. r=bz
2013-03-22 08:13:49 -07:00
David Zbarsky
5cc0fcdcdf
Bug 847007: Remove nsIContent includes r=Ms2ger
2013-03-21 20:05:20 -04:00
Mike Shal
9680b82df6
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
2013-03-19 11:47:00 -07:00
Trevor Saunders
8b11739fc1
bug 852379 - remove unecessary nsHashtable.h includes r=Ms2ger
2013-03-18 21:18:26 -04:00
Bobby Holley
1f9cf836e2
Bug 848939 - De-field marquee. r=jaws
2013-03-18 20:32:02 -07:00
Ed Morley
b2109c458f
Backed out changeset c75481a07302 (bug 851611)
2013-03-18 14:10:35 +00:00
Ed Morley
2b1775b4e9
Backed out changeset d195190adc48 (bug 851611)
...
--HG--
rename : tools/profiler/GeckoProfiler.h => tools/profiler/sampler.h
rename : tools/profiler/GeckoProfilerImpl.h => tools/profiler/sps_sampler.h
2013-03-18 14:10:30 +00:00
Benoit Girard
664cf994b4
Bug 851611 - Part 3: Rename headers. r=jrmuizel
...
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 552fe1d3ff61d15b264aaf86f7c8cb4f4eff69d1
2013-03-18 14:41:02 +01:00
Benoit Girard
c4c6a0ddf5
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
...
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Gregory Szorc
2288b28e43
Bug 844635 - Part 3: Remove empty Makefile.in files; r=glandium
2013-03-17 18:01:25 -07:00
Boris Zbarsky
4b9d7b9b20
Bug 846972 part 3. Switch CSSStyleSheet to WebIDL. r=peterv
2013-03-17 10:45:01 -04:00
Boris Zbarsky
f257517c68
Bug 846972 part 2. Add the WebIDL APIs for StyleSheet and CSSStyleSheet. r=peterv
2013-03-17 10:42:59 -04:00
Boris Zbarsky
709b9d376a
Bug 846972 part 1. Make nsCSSStyleSheet wrappercached. r=mccr8
2013-03-17 10:42:09 -04:00
Ms2ger
a2173990cc
Bug 845374 - Part l: Stop including nsIDocument.h in nsContentUtils.h and fix two nits; r=khuey
2013-03-17 08:55:15 +01:00
Ms2ger
597a4c9da4
Bug 845374 - Part k: Stop including nsIContent.h in nsContentUtils.h; r=khuey
2013-03-17 08:55:15 +01:00
Ms2ger
e3693c490b
Bug 845374 - Part b: include nsAutoPtr.h in nsDOMCSSValueList.cpp; r=khuey
2013-03-17 08:55:08 +01:00
Jonathan Watt
0fbd87a19c
Bug 846883 - Add support for native theming of <input type=range> on OS X. r=roc
2013-03-16 05:40:15 +00:00
Jeff Walden
fe256ffeed
Bug 847480 - Convert DeprecatedAbs uses in animation code. r=dbaron
...
--HG--
extra : rebase_source : 25658f793054005db84485849d9205f56489830a
2013-03-09 14:20:04 -08:00
John Daggett
dcdead5448
Bug 847272 - avoid userfontset updates within font stream handling methods. r=jkew
2013-03-14 14:24:40 +09:00
Daniel Holbert
1a54a69881
Bug 849407: Disable flex item style fixup for anonymous content in nsFrameManager::ReResolveStyleContext(). r=bz
2013-03-13 13:54:05 -07:00
Ryan VanderMeulen
eab6210c29
Backed out changesets da71d1eb9521 and a174d3a0ce2e (bug 848939).
2013-03-13 15:12:30 -04:00
Jeff Walden
cc0ac55d6b
Bug 847480 - Convert DeprecatedAbs overloads taking floating point (except for nscoord uses, when nscoord is optionally a floating point type) to Abs. r=Ms2ger
2013-03-05 15:43:44 -08:00
Jeff Walden
0bfefb7eed
Bug 847480 - Blindly convert all existing mozilla::Abs users to mozilla::DeprecatedAbs. Individualized conversions to the reformed mozilla::Abs will continue until mozilla::DeprecatedAbs is unused, at which point it will be removed. r=Ms2ger
2013-03-05 15:43:30 -08:00
Bobby Holley
3d33242f84
Bug 848939 - De-field marquee. r=jaws
2013-03-13 10:01:37 -07:00
L. David Baron
00a602afdd
Bug 804944, patch 2: Also condition @-moz-keyframes parsing on the animations preference. r=bzbarsky
2013-03-13 09:58:39 -07:00
L. David Baron
c2879a9a1a
Make gAliases be just an array of ids. (Bug 849656, patch 4) r=bzbarsky
2013-03-13 09:58:39 -07:00
L. David Baron
3b8425c455
Move enabled state for aliases from gAliases to gPropertyEnabled. (Bug 849656, patch 3) r=bzbarsky
2013-03-13 09:58:39 -07:00
L. David Baron
893787aaa9
Move names for aliases from gAliases into kCSSRawProperties. (Bug 849656, patch 2) r=bzbarsky
2013-03-13 09:58:39 -07:00
L. David Baron
179b6637e9
Add ids for CSS property aliases to the nsCSSProperty enum. (Bug 849656, patch 1) r=bzbarsky
...
Note that this uses the method_ field of the CSS_PROP_ALIAS macro, which
is not consistent in style with the other values of nsCSSProperty.
However, these enum values are unlikely to be used explicitly, and it
avoids having to add an extra parameter to the macro. (It might even be
better to change the other values to work this way.)
2013-03-13 09:58:39 -07:00
Masatoshi Kimura
e5e5a90814
Bug 848339 - Remove the vestigial boolean outparam from nsWrapperCache::WrapObject. r=bz
2013-03-12 08:03:47 +09:00
L. David Baron
6260684dc2
Backout changeset 6ff3de859ce3 (bug 804944), which depended on an unlanded patch that I currently have tagged for bug 784461.
2013-03-10 12:54:09 -07:00
L. David Baron
420637e091
Bug 804944, patch 2: Also condition @-moz-keyframes parsing on the animations preference. r=bzbarsky
2013-03-10 12:44:13 -07:00
Jonathan Watt
210bd9128b
Bug 846380 - Add support for dragging of <input type=range>'s thumb using mouse/touch events. r=smaug, r=mounir.
2013-03-08 09:40:12 +00:00
Matt Woodrow
d791fb399a
Bug 844750 - Don't use per-display-item invalidation for table frames. r=roc
2013-03-08 15:18:45 +13:00
L. David Baron
912f8e570f
Bug 570896: Allow separate background-origin and background-clip to be set in the background shorthand. r=bzbarsky
2013-03-07 17:59:32 -08:00
Robert Longson
a760e89e0a
Bug 848252 - Replace NS_FRAME_IS_SVG_TEXT checks with IsSVGText(). r=dholbert
2013-03-07 09:01:52 +00:00
Jared Wein
43677b479e
Bug 253564 - Plain text (text/plain, text/javascript, text/css, etc) documents should word-wrap. r=bz
2013-03-06 23:45:08 -05:00
Jeff Walden
bf23cd54f1
Bug 835542 - Implement mozilla::Abs. r=Ms2ger
...
--HG--
extra : rebase_source : a3e62ff76365d27cc4cb10e4fee942ddb8b10b79
2013-02-15 19:55:36 -08:00
David Zbarsky
506b986ee0
[Bug 847110] bustage fix
2013-03-02 20:20:07 -05:00
David Zbarsky
2c3499b66c
[Bug 847110] Fix up includes in layout/style r=dbaron
2013-03-02 19:31:48 -05:00
Jonathan Watt
e818e914b5
Bug 843725 - Add support for changing the value of <input type=range> using the up/down/left/right/pgup/pgdn/home/end keys. r=mounir, r=smaug.
2013-03-01 15:34:06 +00:00
Ryan VanderMeulen
cdce03a204
Backed out changeset 96c03dab9222 (bug 843725) for mochitest-5 failures on a CLOSED TREE.
2013-03-01 11:48:04 -05:00
Jonathan Watt
36034bb99e
Bug 843725 - Add support for changing the value of <input type=range> using the up/down/left/right/pgup/pgdn/home/end keys. r=mounir, r=smaug.
2013-03-01 15:34:06 +00:00
Mounir Lamouri
2bea4e4640
Bug 375008 - Clicking a disabled element should not cause a focus change. r=Enn
2013-03-01 00:15:59 +00:00
Ms2ger
3813557cac
Merge m-i to b-s.
2013-02-28 14:46:10 +01:00
Gregory Szorc
89d297a677
Merge mozilla-central into build-system
...
The 3 merged files had no conflicts and were manually verified to ensure
no incompatible changes crept in.
2013-02-27 21:02:02 -08:00
Gregory Szorc
f0b7e3972c
Merge mozilla-central into build-system
...
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Ms2ger
cd9c6150fe
Merge m-c to b-s.
2013-02-26 19:09:25 +01:00
Gregory Szorc
2f35b94a0e
Bug 784841 - Part 18t: Convert /layout; f=Ms2ger rs=ted
2013-02-25 12:47:22 -08:00
Mounir Lamouri
c0a032bb5b
No Bug - Backout bug 375008 (6c59b73c8c4b) and re-enable test_focus.xul. r=distress
2013-02-27 15:53:41 +00:00
Jesse Silver
d81261ca3f
Bug 833388 - Add a div to the video frame for track elements to use to display captions. r=roc
2013-02-26 16:06:51 -05:00
Mounir Lamouri
bcb7449d05
Bug 375008 - Clicking a disabled element should not cause a focus change. r=Enn
2013-02-27 14:17:43 +00:00
L. David Baron
33ec6bcee5
Bug 404077: Adjust annotations of expected assertions.
2013-02-27 14:55:16 -08:00
Peter Van der Beken
410cee5e49
Fix for bug 844225 (Remove some DOMCI and quickstubs). r=bz.
2013-01-10 10:54:46 +01:00
L. David Baron
a144cc1c82
Bug 404077: Use navigator.platform.startsWith rather than navigator.platform.indexOf, at Jesse's suggestion.
2013-02-26 22:23:08 -08:00
Jonathan Watt
35a0c32302
Bug 842163 - Show a focus ring around <input type=range>. r=mounir.
2013-02-26 21:26:41 +00:00
Kyle Huey
a2581f4219
Bug 816498: Fix some things about background attribute handling that are still broken. r=bz
...
As filed the bug is about table backgrounds failing to print. The root cause of this is that we load images from the original document, because print/print-preview documents (which are static clones of the original) cannot do loads. This results in an entry in the css::ImageValue's request table under the original document, but entry under the printing document. Then we do layout, try to get the request, and fail, and nothing is displayed. The solution to this is to force us to clone the request for the printing document if we're loading off the original document. I manually verified that this does not regress Bug 560235.
While writing a test for this, we discovered another problem. The reftest print code does not actually use the printing codepath. Instead it takes an existing document, tears down its presshell, and creates a new presshell for printing. Fixing the above bug did not make the reftest print test pass because ImageLoader does not deal properly with presshell destruction/recreation. It assumes that when the presshell is destroyed all of the css::ImageValues can be cleared of their entries for that document. This fails for ImageValues for mapped attributes because they are held alive by the content tree. When a new presshell for this document is then created there is no entry for the document and thus no image request to paint. The fix for this is to only clear the frame to request and request to frame mapping hashtables and not to clear the document's entry on the ImageValue when the presshell is destroyed. The destruction of the ImageLoader (which is held from a strong reference on the document) is when those entries are removed. The final change is to change css::ImageValue's hashtable from holding a strong reference to the keys (which are documents) to holding raw pointer references. This is safe because we clear the relevant entry when the corresponding ImageLoader dies, and is needed to prevent a reference cycle that was being broken by presshell destruction.
--HG--
rename : layout/reftests/backgrounds/table-background-ref.html => layout/reftests/backgrounds/table-background-print-ref.html
rename : layout/reftests/backgrounds/table-background.html => layout/reftests/backgrounds/table-background-print.html
2013-02-23 06:59:43 -08:00
Mats Palmgren
aec52bbfed
Bug 843322 - Make CSS 'text-overflow' apply to ::-moz-placeholder. r=roc
2013-02-23 11:38:15 +01:00
Phil Ringnalda
91d0dcf37d
Back out 5520e123f526 (bug 763879) for b2g mochitest-8 and mochitest-9 failures
2013-02-22 20:40:24 -08:00
Nicholas Cameron
1053ca3ea4
Bug 845188; initialise CommonAnimationData::mGenerationCount; r=roc
2013-02-26 19:21:26 +13:00
L. David Baron
57d19fbb86
Bug 404077: Annotate known assertions in mochitests.
2013-02-25 18:39:21 -08:00
Sid Stamm
be0016e68d
Bug 763879 - implement inline stylesheet blocking for CSP (r=dbaron)
2012-08-30 10:58:24 -07:00
Daniel Holbert
e7503d88da
Bug 812822 part 3: Add a TreeMatchContext flag to indicate that we should skip flex item style fixup, and use it when framing anonymous content in ConstructFrame(). r=bz
2013-02-20 23:35:03 -08:00
Daniel Holbert
d0d98743a1
Bug 812822 part 2: Skip flex-item style fixup when resolving style for pseudo-elements. r=bz
2013-02-20 23:35:02 -08:00
Daniel Holbert
5cd48e0295
Bug 812822 part 1: Add flag 'eSkipFlexItemStyleFixup' to let our nsStyleContext creation functions skip the flex-item-specific chunk of ApplyStyleFixups(). r=bz
2013-02-20 23:34:58 -08:00
Cameron McCormack
ea7e4b18e6
Bug 842772 - Followup to address review comments.
2013-02-20 11:58:25 +11:00
Cameron McCormack
b78d8bd4ff
Bug 842772 - Don't test for mask-type when the pref is disabled. r=dbaron
2013-02-20 11:24:42 +11:00
Cameron McCormack
c248494ae8
Bug 842829 - Fix test_condition_text.html to parse the style sheet after the pref is set. r=dbaron
2013-02-20 11:25:10 +11:00
Matt Woodrow
bfb6ac7eab
Bug 840480 r=roc
2013-02-20 13:13:01 +13:00
L. David Baron
0e7ae1f64b
Bug 563195: Add -Wshadow to CFLAGS/CXXFLAGS for layout/style. r=ted
...
Since this directory has FAIL_ON_WARNINGS set, this will cause any
shadowing warnings triggered by headers included in layout/style to
cause errors.
Once this patch is reviewed, I'll write and attach patches to fix the
warnings needed to land this.
2013-02-17 22:56:32 -08:00
L. David Baron
a418f3704b
Bug 563195: Fix -Wshadow warnings in layout/style. r=bzbarsky
2013-02-17 22:56:32 -08:00
Zack Weinberg
f03df97325
Bug 842134: fix serialization of unquoted url() in CSS. r=heycam
2013-02-17 22:03:55 -05:00
L. David Baron
27140199ac
Bug 841983: Require whitespace around 'not', 'and', and 'or' keywords in @supports rules. r=heycam
...
Matches spec change in https://dvcs.w3.org/hg/csswg/rev/34b185ae3bac .
2013-02-16 21:29:38 -08:00
Zack Weinberg
324e50ea81
Bug 543151, part A4: unify the inner text-scanning loops used by GatherIdent, ScanString, NextURL. r=heycam
2013-02-16 18:27:53 -05:00
Zack Weinberg
59b9cbc048
Bug 543151, part A3: convert the scanner to use peek/advance. r=heycam
2013-02-16 18:27:53 -05:00
Zack Weinberg
781c8690dc
Bug 543151, part A2: Introduce the new peek/advance API and reimplement the old read/pushback API on top of it. r=heycam
2013-02-16 18:27:53 -05:00
Zack Weinberg
ad3efbd714
Bug 543151, part A1: Preliminary cleanups to the scanner/parser interface and the organization of nsCSSScanner.cpp. r=heycam
2013-02-16 18:27:53 -05:00
L. David Baron
1162fa289b
Bug 781360 patch 4: Remove the Get from nsStyleContext::GetStyleData and nsIFrame::GetStyleDataExternal, which never return null. r=dholbert
2013-02-16 13:51:03 -08:00
L. David Baron
822b2ca3bc
Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert
...
Except for the changes in:
layout/generic/nsIFrame.h (part)
layout/style/nsComputedDOMStyle.h (all)
layout/style/nsRuleNode.cpp (part)
layout/style/nsStyleContext.cpp (part)
layout/style/nsStyleContext.h (part)
(see patch 3b in the bug), this patch was written with the sed script:
s/\<GetStyle\(Font\|Color\|List\|Text\|Visibility\|Quotes\|UserInterface\|TableBorder\|SVG\|Background\|Position\|TextReset\|Display\|Content\|UIReset\|Table\|Margin\|Padding\|Border\|Outline\|XUL\|SVGReset\|Column\)\>/Style\1/g
2013-02-16 13:51:02 -08:00
L. David Baron
e1162bb557
Bug 781360 patch 2: Rename nsRuleNode::GetPresContext to PresContext, since it can never return null. r=dholbert
2013-02-16 13:04:54 -08:00
L. David Baron
f756f736e2
Bug 781360 patch 1: Rename nsStyleContext::GetRuleNode to RuleNode, since it can never return null. r=dholbert
...
This makes it conform to our convention that getters returning pointers
that can never be null do not begin with "Get".
nsStyleContext's rule node is never null because we require a rule node
in order to construct a style context.
2013-02-16 13:04:53 -08:00
Daniel Holbert
5601dc5fa0
Bug 834107: Replace helper-function GetContainingBlockFor() with direct calls to nsIFrame::GetContainingBlock(), in nsComputedDOMStyle.cpp. r=dbaron
2013-02-16 10:34:34 -08:00
Jonathan Watt
9a999c1cb4
Bug 838256, part 2 - Overhaul and complete the layout pieces for <input type=range>. r=dholbert for the combined diff with the previous changeset.
2013-02-16 17:57:21 +00:00
Wes Johnston
e38c741da9
Bug 838256, part 1 - Initial work on the layout pieces for <input type=range>. DONTBUILD separately from jwatt's changeset (the next one) to finish this work. r=dholbert for the combined diff.
2013-02-16 17:57:21 +00:00
Daniel Holbert
567af6c177
Bug 841873 test changes: Tweak reftests/mochitests/crashtests to remove assumptions about the flexbox pref's default setting. (test-only)
2013-02-15 17:17:21 -08:00
Mounir Lamouri
dbbb67d3ea
Bug 841828 - Show the appropriate cursor on disabled text fields. r=bz
2013-02-16 10:58:28 +00:00
L. David Baron
ba8841c136
Bug 841896: Rename CSSKeyframesRule.insertRule to appendRule to match spec change.
...
Note that this does not change the IID of nsIDOMMozCSSKeyframesRule
since neither the method signature nor semantics have changed; only the
name is different.
2013-02-15 21:38:34 -08:00
L. David Baron
63fdfec174
Bug 841789, patch 1: Rename nsIFrame::GetStyleContext() to nsIFrame::StyleContext() since it can never return null. r=dholbert
...
This makes it conform to our convention that getters returning pointers
that can never be null do not begin with "Get".
2013-02-15 21:38:33 -08:00
Boris Zbarsky
824de2ea6e
Bug 840898. Flag our nullable return value as actually being nullable. r=tbsaunde
2013-02-15 22:36:15 -05:00
Jesse Ruderman
41735266e9
Bug 840402 - Add some more values to property_database.js. r=dbaron
2013-02-15 18:42:48 -08:00
Avi Halachmi
22359abefa
Bug 838758: Cache GradientStops instead of gfxPattern. r=jrmuizel
...
Our gfxPattern cache is currently way too specific, which causes lots of
unnecessary cache misses. The only thing that we actually need to key on is the
color stops.
This switches the cache to hold GradientStops instead of gfxPatterns. This
improves our cache hit rate and is simpler. It also avoids doing caching when
not using Azure, which currently has no benefit.
Average paint times results (in ms)
(on windows 7 x64, i7-3630qm, HD4000)
-------------------------------------
m-c
open: 3.5 close: 3.3
m-c cache-key
open: 2.6 close: 2.4
ux
open: 7.3 close: 5.2
ux cache-key
open: 6.9 close: 5.3
2013-02-15 20:54:49 +02:00
Trevor Saunders
60c334769d
bug 840906 - densISupportsify nsDOMRGBCSSColor r=mccr8
2013-02-13 16:39:23 -05:00
L. David Baron
7621b6de00
Bug 840367: Fix misnaming of keyword IDs in nsCSSKeywordList.h. r=heycam
2013-02-13 11:53:56 -08:00
L. David Baron
973546e2ad
Bug 836329: Fix regression handling 'rem' units in media queries. r=bzbarsky
...
I confirmed that the added tests fail without the patch and pass with
the patch.
2013-02-13 11:53:56 -08:00
Boris Zbarsky
83af484d87
Bug 833808 part 2. Add some utilities for working with selectors to inspector utils. r=dbaron
2013-02-13 10:11:53 -05:00
Boris Zbarsky
880e764352
Bug 618479 part 1. Clean up the nsTArray binary-insert code a little bit. r=jlebar,kinetik
2013-02-13 10:11:53 -05:00
Daniel Holbert
80fd9ba7fe
Followup for Bug 840317: use an unsigned loop variable when iterating up to an unsigned value, to fix warnings-as-errors build error. r=bustage,trivial CLOSED TREE
2013-02-11 17:27:14 -08:00
Cameron McCormack
7d776dcf48
Bug 840317 - Re-evaluate media queries in scoped style sheets. r=dbaron
2013-02-12 11:48:44 +11:00
Cameron McCormack
d426c836aa
Bug 655877 - Part 11b: Use the right hints when reflowing due to dominant-baseline change. r=jwatt
2013-02-11 17:22:16 +11:00
L. David Baron
f8ff60d603
Bug 765599: Make CSS insertRule methods throw SYNTAX_ERR when given an empty rule or more than one rule. r=bzbarsky
...
This implements the proposed spec clarification in
http://lists.w3.org/Archives/Public/www-style/2013Feb/0229.html which
makes us compatible with WebKit on the insertRule tests in this patch.
I confirmed that the test reports 7 failures without the patch, but
passes with the patch. (I'm a little disturbed by the way our
testharness.js integration elides runs of successive passes.)
2013-02-09 22:56:49 -08:00
L. David Baron
a860d586f9
Bug 835007: Make 'transition-property: all' work as an item within a list. r=bzbarsky
...
No changes to the transition manager are needed since
nsTransitionManager::StyleContextChanged already makes the appropriate
calls to ConsiderStartingTransition for 'all', and that existing code
should work fine within a loop (just like the existing code to handle
shorthands or other property duplication works).
2013-02-09 22:56:49 -08:00
Robert Strong
5c07fa06f7
Back out Bug 678392
2013-02-08 16:52:12 -08:00
Stephen Pohl
9c1b816b92
Swipe availability check - Bug 678392 - [10.7] Add support for swipe animation as in Safari. r=smichaud
2013-02-08 13:57:28 -08:00
Alexandre Poirot
27e2713da8
Bug 821695 - Do not load videocontrols.xml if the audio/video tag does not need it. r=roc
...
--HG--
extra : rebase_source : 567194ec6ee1862af1d7988aa9a0c3b50f07788a
2013-02-01 08:47:55 -05:00
Boris Zbarsky
2a81855e95
Bug 837031. When unlinking a keyframe rule, make sure to DropReference on its declaration. r=smaug
2013-02-06 14:24:04 +00:00
Seth Fowler
9e646b4929
Bug 836124 - Replace GetCurrentFrameIsOpaque() with [noscript] FrameIsOpaque(aWhichFrame). r=joe
2013-02-04 14:22:30 -08:00
Jonathan Watt
312edf7655
Bug 835883 - Give the -moz-orient property an 'auto' value, and make that its initial value. r=dholbert.
2013-02-02 19:13:22 +01:00
Daniel Holbert
6ee3cf6e54
Bug 836604: Collapse nsStyleSet::GetContext()'s boolean parameters into a 'flags' parameter. r=bz
2013-02-01 08:02:29 -08:00
Ryan VanderMeulen
72b0f5eec0
Backed out changeset e521791fe3cc (bug 821695) for mochitest-2 orange.
...
--HG--
extra : rebase_source : 681bd3b9bf50fbc7c3f5a55a40f473180e10608b
2013-02-01 10:06:19 -05:00
Alexandre Poirot
2d12db67a2
Bug 821695 - Do not load videocontrols.xml if the audio/video tag does not need it. r=roc
2013-02-01 08:47:55 -05:00
L. David Baron
0eb63ee170
Bug 836530 followup: fix tests for new ASCII range.
2013-01-31 21:09:40 -08:00
L. David Baron
4a936c7846
Bug 836530: Make all non-ASCII characters be CSS identifier characters. r=bzbarsky
...
This is as was proposed in
http://lists.w3.org/Archives/Public/www-style/2013Jan/0394.html
and resolved in the CSS Working Group's teleconference on 2013-01-30.
This removes a difference between Gecko and other browsers.
2013-01-31 20:09:47 -08:00
Henri Sivonen
5636baf78e
Bug 820508 part 2 - UA stylesheet for <main>. r=bzbarsky.
2013-01-29 14:31:45 +02:00
L. David Baron
c2221a17ac
Bug 835169: Remove unused mapping into style of table cols attribute. r=bzbarsky
2013-01-28 21:16:22 -08:00
Peter Van der Beken
b9d2ae906f
Fix for bug 816088 (webIDL bindings try to extract nsISupports from the global object in static properties in workers). r=bz.
...
--HG--
extra : rebase_source : 5668d9e01bff0fe7831d98018428856e5940a620
2012-12-03 17:07:49 +01:00
Ed Morley
bc0702d0d7
Backout f3c145bd1dd2 & 5075690572a9 for OS X startup failures
2013-01-28 11:08:21 +00:00
Peter Van der Beken
b46afdef94
Fix for bug 816088 (webIDL bindings try to extract nsISupports from the global object in static properties in workers). r=bz.
...
--HG--
extra : rebase_source : 68e5630591f6209e2af9c5cd2321fed8edd3de24
2012-12-03 17:07:49 +01:00
Ryan VanderMeulen
e8cdcbd932
Merge m-c to inbound.
2013-01-26 21:23:50 -05:00
Ryan VanderMeulen
94e8455af6
Merge m-c to fx-team.
2013-01-26 21:21:39 -05:00
Martijn Wargers
36f45cccf3
Bug 368740 - crashtest
2013-01-26 21:28:56 +01:00
Matthew Noorenberghe
efdff8b5c5
Bug 816803 - Add system metric and media query keyword to detect whether the current Windows desktop theme supports Aero Glass. r=jimm,sr=roc
...
--HG--
extra : rebase_source : 56b27cbbbcc0cde254ef7aa7087f11360c476390
2013-01-16 19:27:16 -08:00
Martijn Wargers
b0a912518c
Bug 363950 - crashtest.
2013-01-26 14:15:30 +01:00
Mounir Lamouri
78aa4c4e95
Bug 819871 - Make ":-moz-placeholder" parsable but without any effect on styling. r=dbaron,bz
2013-01-24 09:30:28 +00:00
Chris Peterson
eab3c189d8
Bug 816298 - Part 1: Allow child elements to override -moz-user-select:none. r=ehsan
...
--HG--
extra : rebase_source : f4e08713be0691c25b22510977c978088655ec8b
2013-01-08 16:33:17 -08:00
John Daggett
698f1eb124
Bug 833624. Bump up size of int's in mOrder to allow more than 256 CSS properties. r=dbaron
2013-01-24 02:24:27 +09:00
Dão Gottwald
e7a08c52ce
Bug 813550 - Location bar's placeholder in an RTL chrome should be aligned on the right. r=ehsan a=nonlibxul
2013-01-22 00:13:04 +01:00
Boris Zbarsky
889e1ea478
Bug 774980. Hook up nsCSSKeyframeRule to cycle collection. r=smaug
2013-01-18 23:32:12 -05:00
Mark Finkle
37f68aa322
Backout 3b91d62ca343 and 662d0cd47316 for test failures
2013-01-17 20:44:46 -05:00
Mark Finkle
3e021efaaa
Bug 831123 - Disable CSS error reporting by default to improve pageload performance r=blassey r=jmaher
2013-01-17 18:38:47 -05:00
Trevor Saunders
9f0ad48b28
bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8
2013-01-12 07:40:33 -05:00
Cameron McCormack
5ec3748408
Bug 829363 - Make :scope match style scope roots. r=bzbarsky
2013-01-16 15:48:29 +11:00
Boris Zbarsky
0f2a047c94
Bug 827799. Apply clip to outer table frames as needed. r=roc
2013-01-15 14:04:24 -05:00
Trevor Saunders
ddbe49139b
bug 830396 - add back nsIDOMCSSValueList r=bz
2013-01-14 12:29:27 -05:00
Mats Palmgren
6c53161814
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00