Bobby Holley
9891ac1aa1
Bug 871887 - Make sure |this|-binding is correct or marquee event listeners. r=bz
2013-05-20 11:33:49 -06:00
John Daggett
77f5e06d8f
Bug 549861 - add missing files from reland patch. r=bustage
2013-05-20 12:47:32 +09:00
John Daggett
0eae803e8f
Bug 549861 - reland font-variant subproperties with DOM-peer review. r=khuey
2013-05-20 11:59:20 +09:00
Ms2ger
a8ca7bda9d
Merge backout.
2013-05-19 20:26:58 +02:00
Ms2ger
7786ea6954
Backout bug 549861 (changesets 27fb48df15ce:7ecd4e3863b4) for insufficient review.
2013-05-19 20:23:19 +02:00
John Daggett
00be04b30a
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
3fdc406a01
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
5b570d8745
Bug 549861. Implement support for @font-feature-values rule. r=dbaron
2013-05-13 18:45:37 +09:00
John Daggett
6f990b3fc6
Bug 549861. Implement CSS parsing of font-variant-alternates. r=dbaron
2013-05-13 18:45:37 +09:00
John Daggett
fb6fb8df81
Bug 549861. Parse simple font-variant subproperties. r=dbaron
2013-05-13 18:45:36 +09:00
Ed Morley
5256152aa1
Backed out changeset 496846474ed3 (bug 864774)
2013-05-13 10:05:49 +01:00
Mike Shal
954221d9c9
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
d3e7b3b159
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
192397aeed
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
7ceff1cbc9
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
acfaf1bdda
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
92268718c4
Bug 867530 - Make the current poison consumers use the new API. r=roc
2013-05-07 20:48:59 +02:00
Jeff Muizelaar
d4f0597124
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
1a57cd403b
Merge m-c to m-i
2013-05-05 12:17:07 -07:00
Olli Pettay
5c7b9fa539
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
195ed27f94
Bug 868729 - Remove nsHTMLCSSStyleSheet::Init; r=bz
2013-05-05 09:03:20 +02:00
Olli Pettay
018f629b8b
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
cbb79393f6
Bug 848291 - Update TransitionEvent to be compatible with the spec, r=dbaron
2013-05-04 17:41:20 +03:00
Daniel Holbert
e4d322eb18
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
6af8265e40
Bug 636564 - Implement lion style scrollbars on Mac OSX 10.7+; r=roc
2013-05-02 10:58:00 -04:00
Aryeh Gregor
b8a4c64af3
Bug 859817 - Make nsStringBuffer::Alloc return already_AddRefed; r=bz
2013-04-22 14:13:22 +03:00
Ian Melven
8b39be405f
Bug 763879 - implement inline stylesheet blocking for CSP (r=dbaron)
2012-08-30 10:58:24 -07:00
Ryan VanderMeulen
40179edaf5
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
247127753d
Bug 763879 - implement inline stylesheet blocking for CSP (r=dbaron)
2012-08-30 10:58:24 -07:00
Ted Mielczarek
3cfd62c3d2
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
f5a84d4c82
Bug 839103 - Part 11: Add StyleRule{Added,Removed,Changed} events. r=bz
2013-05-16 17:13:36 +10:00
Phil Ringnalda
95ddec5edc
Back out 4d755ea39a56:81d152795bea (bug 798843) for style mochitest failures
2013-05-15 20:53:30 -07:00
Cameron McCormack
f5436e42e9
Bug 872111 - Make test_rule_insertion.html more tolerant to text measurements. r=bz
2013-05-16 13:27:03 +10:00
Edwin Flores
5f11a4ac73
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
8a4ca2262b
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
bf482503be
Bug 871887 - Fix marquee _setEventListener. r=bz
2013-05-15 18:59:53 -07:00
Boris Zbarsky
d501411e13
Bug 870845. Correctly check for parse-inaccessible properties in inDOMUtils::GetCSSPropertyNames. r=heycam
2013-05-14 14:20:58 -04:00
Ryan VanderMeulen
2e83f084b9
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
5aae7587dd
Bug 870845. Correctly check for parse-inaccessible properties in inDOMUtils::GetCSSPropertyNames. r=heycam
2013-05-14 14:20:58 -04:00
Arnaud Sourioux
623d2ed378
Bug 870516: Annotate ~600 more methods with MOZ_OVERRIDE in /layout r=dholbert
2013-05-14 09:33:23 -07:00
Jonathan Kew
fd3328acbc
bug 857089 - backout changeset b85353b6cc38 pending revised UI for the feature
2013-05-01 10:12:41 +01:00
Bobby Holley
923472acd0
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
957042f394
Bug 859018 - Remove the MSVC exemption for FAIL_ON_WARNINGS in layout. r=dbaron
2013-04-28 19:02:35 +09:00
Aryeh Gregor
f0404a303a
Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger
2013-04-22 14:15:59 +03:00
Boris Zbarsky
b834439797
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
2ad47b2088
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
4ea4704e26
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
efe4d8a5a5
Bug 862113. Fix test for CSS2 pseudo-elements to not trigger assertions. r=dholbert
2013-04-18 01:21:46 -04:00
Mike Shal
df7deac25b
Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey
2013-04-16 15:24:43 -04:00
Daniel Holbert
57ff08adea
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
d170276e63
Bug 860180 - Prefer UTF-16BE/LE to UTF-16. r=hsivonen
2013-04-16 21:19:29 +09:00
Mats Palmgren
62e2d164d6
Bug 856368 - Merge nsPresArena::mState into nsPresArena itself. r=roc
2013-04-15 22:00:06 +02:00
Masayuki Nakano
65e843edc3
Bug 857820 part.1 Drop blink effect implementation r=dbaron
2013-04-14 19:11:07 +09:00
Joshua Cranmer
1f24ef2b5e
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
0cd77e174b
Bug 678392 - Add support for swipe animation as in Safari. r=smichaud,jaws,felipc
2013-04-09 14:44:01 -05:00
Cameron McCormack
5c2f7b821d
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
853a67cc75
Backed out changeset dc4066373f5a (bug 849399) for failures in test_bug451286.xul
2013-04-09 11:45:13 +01:00
Nicholas Cameron
bf6e86c175
Bug 849399. Invalidate existing style rule if we start a transition. r=dbaron
2013-04-09 21:09:11 +12:00
Masatoshi Kimura
baee7fa4d1
Bug 771975 - Remove -moz-prefixed gradients usage from rest of the tree. r=roc
2013-04-09 07:44:26 +09:00
Trevor Saunders
ef82aa217b
bug 856779 - make nsStyleSet::Init() return void r=dholbert
2013-03-31 18:08:29 -04:00
Ms2ger
db23b597b4
No bug - Remove Windows line endings from layout/style/AnimationCommon.cpp.
2013-04-06 22:16:46 +02:00
David Creswick
206e93e61e
Bug 856317 - Expose the column number of style rules via inIDOMUtils. r=dbaron
2013-04-06 12:38:56 -05:00
Scott Johnson
ca9cd1157f
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
be171f1e4e
Backout 5820d44601c1 (bug 520992) for build bustage
2013-04-05 11:52:59 -04:00
Scott Johnson
8a3d69f370
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
bbcb7c3d75
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
502238ef9b
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
30bf2eb38b
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
ebb97727c3
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
bf020f555d
Bug 856402 - null-check the result of GetParentStyleSheet. r=dbaron
2013-04-03 15:13:17 +09:00
Trevor Saunders
5e2c10a0f3
bug 856794 - don't check the return value of nsTArray::EnsureLengthAtLeast() r=heycam
2013-04-01 16:54:20 -04:00
Cameron McCormack
10e5ff17b2
Bug 856879 - Remove constructor arguments argument from style struct macros. r=dbaron
2013-04-02 12:45:48 +11:00
Seth Fowler
81c3ba6eb9
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
f3c9c56774
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
72a717a860
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
43628a7867
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
334c0800cf
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
65800713ef
Bug 839788 - Switch Browse button from an <input> to a <button>. r=bz
2013-03-29 12:32:47 +00:00
Ryan VanderMeulen
5e42e53e96
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
eadf5f190e
Bug 839788 - Switch Browse button from an <input> to a <button>. r=bz
2013-03-28 11:24:14 +00:00
Jonathan Watt
ecfd1c5f3e
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
a806c3138e
Backed out changeset f0b16aba4df7 (bug 839788) for mochitest failures on a CLOSED TREE.
2013-03-28 08:49:04 -04:00
Mounir Lamouri
f839c90393
Bug 839788 - Switch Browse button from an <input> to a <button>. r=bz
2013-03-28 11:24:14 +00:00
Daniel Holbert
2b74752008
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
d2633f4f5e
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
be2fe498c8
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
de3f64fa29
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
92fa91d0b2
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
ea68a922f1
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
7d4eb76aaf
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
ce9ffb2628
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
c1364807c4
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
7850c1dffd
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
8a01249a9f
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
0ecf218a04
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
eb903ad1da
Bug 848973 - Document what aFrame means in nsStyleDisplay::IsBlockInside() and friends. r=roc
2013-03-27 15:49:56 +11:00
Daniel Holbert
eee60fbb93
Backout e912de49c12b (Bug 854538) due to M5 & crashtest oranges on a CLOSED TREE
2013-03-26 17:28:14 -07:00
Jonathan Watt
3ea1b4dc5c
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
3e91baaeae
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
591ce8a1df
Bug 818976 - Part 2: Implement template element interface. r=mrbkap,bz
2013-03-26 00:15:23 -07:00
Daniel Holbert
32511651c4
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
042e2c83ad
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
c47f308258
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
111a737394
Bug 849657: Fix bustage from changeset eb8d19e9c838.
2013-03-25 09:34:23 -07:00
L. David Baron
5fee46f73f
Bug 849657 patch 2: Change internal uses of 'CssFloat' to 'Float'. r=bzbarsky
2013-03-25 09:24:21 -07:00
L. David Baron
93f4ab7a9a
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
ca4d21a415
Bug 842142 - Prevent odd text wrapping in SVG text. r=roc
2013-03-25 14:50:59 +11:00
Joshua Cranmer
5765d5aec4
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
dea596bdaa
Backout rev 85397e0a6dba - wrong patch. r=me
2013-03-23 21:45:53 +01:00
Mats Palmgren
83a872ae97
Bug 851847 - Optimize nsBlockFrame::StealFrame when removing a normal flow child. r=bzbarsky
2013-03-23 21:10:34 +01:00
Daniel Holbert
4fa96dd299
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
46284ae633
Bug 847007: Remove nsIContent includes r=Ms2ger
2013-03-21 20:05:20 -04:00
Mike Shal
7ecea60097
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
2013-03-19 11:47:00 -07:00
Trevor Saunders
9c54e14d23
bug 852379 - remove unecessary nsHashtable.h includes r=Ms2ger
2013-03-18 21:18:26 -04:00
Bobby Holley
294571cb47
Bug 848939 - De-field marquee. r=jaws
2013-03-18 20:32:02 -07:00
Ed Morley
ab0833645c
Backed out changeset c75481a07302 (bug 851611)
2013-03-18 14:10:35 +00:00
Ed Morley
3091d3e2b6
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
b03f14270d
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
919018414b
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
...
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Gregory Szorc
7d09ff18e0
Bug 844635 - Part 3: Remove empty Makefile.in files; r=glandium
2013-03-17 18:01:25 -07:00
Boris Zbarsky
69fb5b85c1
Bug 846972 part 3. Switch CSSStyleSheet to WebIDL. r=peterv
2013-03-17 10:45:01 -04:00
Boris Zbarsky
cd206cfc4d
Bug 846972 part 2. Add the WebIDL APIs for StyleSheet and CSSStyleSheet. r=peterv
2013-03-17 10:42:59 -04:00
Boris Zbarsky
48acfb30b5
Bug 846972 part 1. Make nsCSSStyleSheet wrappercached. r=mccr8
2013-03-17 10:42:09 -04:00
Ms2ger
4f5fca99bc
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
b23eb4bedb
Bug 845374 - Part k: Stop including nsIContent.h in nsContentUtils.h; r=khuey
2013-03-17 08:55:15 +01:00
Ms2ger
e0711de065
Bug 845374 - Part b: include nsAutoPtr.h in nsDOMCSSValueList.cpp; r=khuey
2013-03-17 08:55:08 +01:00
Jonathan Watt
392e922a53
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
e73e3694dc
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
63fecfb032
Bug 847272 - avoid userfontset updates within font stream handling methods. r=jkew
2013-03-14 14:24:40 +09:00
Daniel Holbert
b47d968bc8
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
730194991b
Backed out changesets da71d1eb9521 and a174d3a0ce2e (bug 848939).
2013-03-13 15:12:30 -04:00
Jeff Walden
f915a6ceec
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
5ec763f216
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
ea64d37b8d
Bug 848939 - De-field marquee. r=jaws
2013-03-13 10:01:37 -07:00
L. David Baron
de551462db
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
46a0a82458
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
62da42985e
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
5bd7a451b4
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
b89a8fcac3
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
23ba391ec1
Bug 848339 - Remove the vestigial boolean outparam from nsWrapperCache::WrapObject. r=bz
2013-03-12 08:03:47 +09:00
L. David Baron
ddc65b61e5
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
774a334ffb
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
d2f1f7d2f4
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
fbfd2fa87a
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
5573280fad
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
113516bb2d
Bug 848252 - Replace NS_FRAME_IS_SVG_TEXT checks with IsSVGText(). r=dholbert
2013-03-07 09:01:52 +00:00
Jared Wein
d1623e977a
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
1871e9f3f8
Bug 835542 - Implement mozilla::Abs. r=Ms2ger
...
--HG--
extra : rebase_source : a3e62ff76365d27cc4cb10e4fee942ddb8b10b79
2013-02-15 19:55:36 -08:00
David Zbarsky
a046a6b06a
[Bug 847110] bustage fix
2013-03-02 20:20:07 -05:00
David Zbarsky
3250bd906e
[Bug 847110] Fix up includes in layout/style r=dbaron
2013-03-02 19:31:48 -05:00
Jonathan Watt
fe9039c80c
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
403adefd17
Backed out changeset 96c03dab9222 (bug 843725) for mochitest-5 failures on a CLOSED TREE.
2013-03-01 11:48:04 -05:00
Jonathan Watt
ad65ad92ae
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
f489fdedf7
Bug 375008 - Clicking a disabled element should not cause a focus change. r=Enn
2013-03-01 00:15:59 +00:00
Ms2ger
8fedd090cc
Merge m-i to b-s.
2013-02-28 14:46:10 +01:00
Gregory Szorc
e1b210ddf6
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
0c8ee65118
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
aea301eee3
Merge m-c to b-s.
2013-02-26 19:09:25 +01:00
Gregory Szorc
266db717ab
Bug 784841 - Part 18t: Convert /layout; f=Ms2ger rs=ted
2013-02-25 12:47:22 -08:00
Mounir Lamouri
3d31cd2ab1
No Bug - Backout bug 375008 (6c59b73c8c4b) and re-enable test_focus.xul. r=distress
2013-02-27 15:53:41 +00:00
Jesse Silver
8a4335ad7c
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
6bcee6bb6d
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
e6922de5b3
Bug 404077: Adjust annotations of expected assertions.
2013-02-27 14:55:16 -08:00
Peter Van der Beken
3f112891fb
Fix for bug 844225 (Remove some DOMCI and quickstubs). r=bz.
2013-01-10 10:54:46 +01:00
L. David Baron
49b7670edf
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
bb6395acb1
Bug 842163 - Show a focus ring around <input type=range>. r=mounir.
2013-02-26 21:26:41 +00:00
Kyle Huey
0660c18b2f
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
ae67dd75c4
Bug 843322 - Make CSS 'text-overflow' apply to ::-moz-placeholder. r=roc
2013-02-23 11:38:15 +01:00
Phil Ringnalda
9341f966c9
Back out 5520e123f526 (bug 763879) for b2g mochitest-8 and mochitest-9 failures
2013-02-22 20:40:24 -08:00
Nicholas Cameron
136969e6e1
Bug 845188; initialise CommonAnimationData::mGenerationCount; r=roc
2013-02-26 19:21:26 +13:00
L. David Baron
a8ee400190
Bug 404077: Annotate known assertions in mochitests.
2013-02-25 18:39:21 -08:00
Sid Stamm
cc629bf54e
Bug 763879 - implement inline stylesheet blocking for CSP (r=dbaron)
2012-08-30 10:58:24 -07:00
Daniel Holbert
7dd71ad03b
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
a30abffba8
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
b663c565e3
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
437779e7fe
Bug 842772 - Followup to address review comments.
2013-02-20 11:58:25 +11:00
Cameron McCormack
2fe77c9684
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
291fa1d9d5
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
b6d1579a17
Bug 840480 r=roc
2013-02-20 13:13:01 +13:00
L. David Baron
748494d39e
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
51da44efd5
Bug 563195: Fix -Wshadow warnings in layout/style. r=bzbarsky
2013-02-17 22:56:32 -08:00
Zack Weinberg
dd8331da7a
Bug 842134: fix serialization of unquoted url() in CSS. r=heycam
2013-02-17 22:03:55 -05:00
L. David Baron
9f0532a6a2
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
3f37059b40
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
4ad41ccb2d
Bug 543151, part A3: convert the scanner to use peek/advance. r=heycam
2013-02-16 18:27:53 -05:00
Zack Weinberg
dd23fa075d
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
7dc7416d1e
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
309d5f8f42
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
c5b9eee040
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
59101dc21e
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
0836abe85d
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
e208d238e9
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
fd7314abae
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
54936aa0ff
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
0a60b3798a
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
db93a9a4ed
Bug 841828 - Show the appropriate cursor on disabled text fields. r=bz
2013-02-16 10:58:28 +00:00
L. David Baron
e70474e604
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
50d4e367af
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
0236f0c5b6
Bug 840898. Flag our nullable return value as actually being nullable. r=tbsaunde
2013-02-15 22:36:15 -05:00
Jesse Ruderman
22acf5597b
Bug 840402 - Add some more values to property_database.js. r=dbaron
2013-02-15 18:42:48 -08:00
Avi Halachmi
8ba2f637aa
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
3e028f8788
bug 840906 - densISupportsify nsDOMRGBCSSColor r=mccr8
2013-02-13 16:39:23 -05:00
L. David Baron
9e263c0408
Bug 840367: Fix misnaming of keyword IDs in nsCSSKeywordList.h. r=heycam
2013-02-13 11:53:56 -08:00
L. David Baron
1e379c8dad
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
1c99b91077
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
e4fca1d362
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
63ce885d99
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
67b6df3187
Bug 840317 - Re-evaluate media queries in scoped style sheets. r=dbaron
2013-02-12 11:48:44 +11:00
Cameron McCormack
9aa6230cd3
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
a6ce971075
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
f98acfef4b
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
bbc574349b
Back out Bug 678392
2013-02-08 16:52:12 -08:00
Stephen Pohl
2242844b6a
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
2118fd0622
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
eac6d60297
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
41916bc9e5
Bug 836124 - Replace GetCurrentFrameIsOpaque() with [noscript] FrameIsOpaque(aWhichFrame). r=joe
2013-02-04 14:22:30 -08:00
Jonathan Watt
467851b06c
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
60e4dc4421
Bug 836604: Collapse nsStyleSet::GetContext()'s boolean parameters into a 'flags' parameter. r=bz
2013-02-01 08:02:29 -08:00
Ryan VanderMeulen
e041781778
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
9569858e3d
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
a6062c1fce
Bug 836530 followup: fix tests for new ASCII range.
2013-01-31 21:09:40 -08:00
L. David Baron
139be3374b
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
2084f08dbf
Bug 820508 part 2 - UA stylesheet for <main>. r=bzbarsky.
2013-01-29 14:31:45 +02:00
L. David Baron
872b0c534b
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
c553f8a73e
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
9474e07ea6
Backout f3c145bd1dd2 & 5075690572a9 for OS X startup failures
2013-01-28 11:08:21 +00:00
Peter Van der Beken
6b094e2955
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
a983d32d90
Merge m-c to inbound.
2013-01-26 21:23:50 -05:00
Ryan VanderMeulen
2a0981338e
Merge m-c to fx-team.
2013-01-26 21:21:39 -05:00
Martijn Wargers
502e893be7
Bug 368740 - crashtest
2013-01-26 21:28:56 +01:00
Matthew Noorenberghe
f932eeb8e2
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
b668ae5ad0
Bug 363950 - crashtest.
2013-01-26 14:15:30 +01:00
Mounir Lamouri
0b5fb9542d
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
f644840333
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
9e4257c826
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
68efd64347
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
005824e1db
Bug 774980. Hook up nsCSSKeyframeRule to cycle collection. r=smaug
2013-01-18 23:32:12 -05:00
Mark Finkle
a926ada6e0
Backout 3b91d62ca343 and 662d0cd47316 for test failures
2013-01-17 20:44:46 -05:00
Mark Finkle
6f09808b5b
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
83bcbe0d6b
bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8
2013-01-12 07:40:33 -05:00
Cameron McCormack
1d38a7132f
Bug 829363 - Make :scope match style scope roots. r=bzbarsky
2013-01-16 15:48:29 +11:00
Boris Zbarsky
860a358bc3
Bug 827799. Apply clip to outer table frames as needed. r=roc
2013-01-15 14:04:24 -05:00
Trevor Saunders
84fd122dde
bug 830396 - add back nsIDOMCSSValueList r=bz
2013-01-14 12:29:27 -05:00
Mats Palmgren
b7ae90666d
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
Ehsan Akhgari
56e1e4925d
Backed out changeset 5af4c6bd5104 (bug 827075) because it is no longer necessary
2013-01-14 16:21:54 -05:00
Cameron McCormack
003a568b4d
Bug 828805 - Followup warning removal.
2013-01-13 11:45:23 +11:00
Cameron McCormack
e81a43d6c4
Bug 828805 - Followup build fix.
2013-01-13 11:17:00 +11:00
Cameron McCormack
bc2d799592
Bug 828805 - Implement SVG paint-order property. r=bz,roc
2013-01-13 10:27:53 +11:00
David Zbarsky
fd7bd329e5
Bug 827149 - Remove some uses of nsIDOMHTMLBodyElement r=bz
2013-01-12 16:53:01 -05:00
Seth Fowler
8db17986f3
Bug 811391 - Part 2: Tests. r=dbaron
2013-01-09 16:05:19 -08:00
Seth Fowler
19481d1320
Bug 811391 - Part 1: Ignore @page declarations involving viewport units. r=dbaron
...
* * *
Bug 811391 followup: Fix out-of-order init list, to fix build warning (treated as error).
2013-01-09 16:03:55 -08:00
Ehsan Akhgari
b5846cd75f
Backed out 2 changesets (bug 811391) because of build bustage
...
Backed out changeset c20904b75bcc (bug 811391)
Backed out changeset f0a00bf2ba8e (bug 811391)
2013-01-12 16:05:11 -05:00
Brendan Dahl
da1c0a3d9e
Bug 827591 - Be more careful changing declarations on page rules. r=dbaron
2013-01-09 10:33:09 -08:00
Seth Fowler
dc12b47426
Bug 811391 - Part 2: Tests. r=dbaron
2013-01-09 16:05:19 -08:00
Seth Fowler
4d05af86ea
Bug 811391 - Part 1: Ignore @page declarations involving viewport units. r=dbaron
2013-01-09 16:03:55 -08:00
Daniel Holbert
d83179dd35
Bug 829168: Mark layout/style as FAIL_ON_WARNINGS, on non-MSVC compilers. r=bz
2013-01-12 10:49:12 -08:00
Daniel Holbert
a86f8f4b14
Bug 829369: Cast pointer-subtraction to a size_t (after ensuring it'll be nonnegative) when comparing it to a nsTArray's size, to fix signed/unsigned comparison build warning. r=dbaron
2013-01-12 01:56:15 -08:00
Chris Peterson
63e242521e
Bug 829344 - Part 4: Fix gcc -Wlogical-op warnings from PRBool/bool conversion. r=ehsan
2013-01-10 17:56:51 -08:00
L. David Baron
48c38cd8b2
Bug 822891: Make animationiteration events fire when we're running off-main-thread animations and throttling style changes. r=nrc
2013-01-11 09:53:14 -08:00
Zack Weinberg
4e8868dbf4
Bug 413958: report the text of the offending line in CSS error messages. r=dbaron
2013-01-11 12:27:43 -05:00
Ms2ger
3203dfee36
Merge latest PGO-green m-i changeset to m-c.
2013-01-11 14:48:33 +01:00
Ms2ger
26de886928
Bug 825407 - Get rid of GetElementParent; r=mounir
2013-01-11 09:43:01 +01:00
L. David Baron
1fb6ad9b36
Bug 827687, patch 2: Be more careful walking segments. r=bzbarsky
2013-01-10 21:14:51 -08:00
L. David Baron
aad277663c
Bug 827687: Fix edge case in calculation of whichIteration. r=bzbarsky
2013-01-10 21:14:51 -08:00
L. David Baron
8ebe5a4445
Bug 827717: Change record of CSS animation start to be before delay so that dynamic changes to animation-delay are honored. r=bzbarsky
...
This matches the CSS Working Group consensus recorded in
http://lists.w3.org/Archives/Public/www-style/2012Nov/0261.html , though
the spec hasn't yet been updated.
2013-01-10 21:14:51 -08:00
L. David Baron
a634a60614
Bug 827698: Use the length of the 'animation-name' list when determining how many animations to run. r=bzbarsky
...
NOTE: The tests in test_animations.html fail without the patch; the
tests in test_shorthand_property_getters.html are only tangentially
related and pass both with and without the patch.
2013-01-10 21:14:51 -08:00
Trevor Saunders
4b6abee5f4
bug 829288 - fix layout/ warnings on mingw r=dholbert
2013-01-10 02:04:09 -05:00
L. David Baron
04a2340b4d
Bug 822721 followup: remove bogus assertion to fix orange.
2013-01-09 08:51:14 -08:00
L. David Baron
38ab2a49a6
Fix bustage from bug 822721.
2013-01-08 20:53:16 -08:00
L. David Baron
7ca32cab95
Bug 827704: Fix 'visibility' animation so that it doesn't animate between values when one of them is not 'visibile'. r=bzbarsky
2013-01-08 20:37:29 -08:00
L. David Baron
9814666177
Bug 827579: Remove post-resolve callback concept from style system. r=bzbarsky
2013-01-08 20:37:29 -08:00
L. David Baron
328a3e5be7
Bug 822721: Call CalcStyleDifference and process the style change list resulting from the miniflush we do to update throttled animations prior to seeing if we need to start transitions. r=bzbarsky
...
The CalcStyleDifference call is absolutely necessary even if we didn't
need to process the change list, because it causes the new style
context to have cached structs that we might need for a later
comparison. This is important because, as an optimization, we only
compare structs that have been retrieved. This optimization requires
that when we replace a style context, we fetch all the structs on the
new style context that had been fetched on the old style context (which
is normally necessary anyway in order to do comparison so we can process
the changes appropriately).
However, actually processing the change list is also necessary to fix
the bug; it's the actual change from the miniflush that matters here.
Based on dholbert's debugging information, I think it's mostly likely
because we were failing to process the UpdateOverflow hint.
2013-01-08 20:37:29 -08:00
Daniel Holbert
87223f36ee
Bug 829112: Fix "comparison between signed and unsigned integer expressions" warnings in nsStyleSet.cpp. r=bz
2013-01-10 10:40:53 -08:00
Daniel Holbert
13884b7d1d
Bug 828838: Fix nsCSSRuleProcessor init-list order. r=heycam
2013-01-10 07:55:43 -08:00
Cameron McCormack
4f4a1d1d74
Bug 508725 - Part 6: Modify selector matching to take style scopes into account. r=dbaron
2013-01-09 10:25:48 +11:00
Cameron McCormack
c2964df438
Bug 508725 - Part 5: Record the <style scoped> elements in scope in preparation for selector matching. r=dbaron
2013-01-09 10:25:48 +11:00
Cameron McCormack
a448143019
Bug 508725 - Part 4: Add a content flag representing whether an element is a scoped style root. r=dbaron
2013-01-09 10:25:47 +11:00
Cameron McCormack
42c46424b4
Bug 508725 - Part 3: Create a rule processor for each style scope. r=dbaron
2013-01-09 10:25:47 +11:00
Cameron McCormack
4a4eda5e13
Bug 508725 - Part 2: Record on nsCSSStyleSheets whether they are for a <style scoped>. r=dbaron
2013-01-09 10:25:47 +11:00
Cameron McCormack
2f72089890
Bug 508725 - Part 1: Add content flag representing whether an element is in a style scope. r=dbaron
2013-01-09 10:25:47 +11:00
Cameron McCormack
c067646b00
Backout bug 508725 (d267bb4b58b5, 50f71edffeb9, 6aec8e22fe60, e62e1f33958a, 0f146c435249, eb959b9f4862, 2b0ee42f3aa0, 02db01cd6796, 2ef0e517d43d, b650588e05c9 and a3c916829d56) for build failure on a CLOSED TREE.
2013-01-08 19:36:21 +11:00
John Daggett
fe983be1cc
Bug 605231 - Don't parse unquoted reserved keywords 'initial' or 'default' in font family names. r=dbaron
2013-01-08 17:13:17 +09:00
John Daggett
69561f8ae3
Bug 605231 - Move transform parsing code out of font property parsing code. r=dbaron
2013-01-08 17:13:17 +09:00
John Daggett
c19c961a4b
Bug 605231 - Tests for font family name parsing. r=dbaron
2013-01-08 17:13:16 +09:00
Cameron McCormack
f83b36df21
Bug 508725 - Part 6: Modify selector matching to take style scopes into account. r=dbaron
2013-01-08 19:09:23 +11:00
Cameron McCormack
5000fec383
Bug 508725 - Part 5: Record the <style scoped> elements in scope in preparation for selector matching. r=dbaron
2013-01-08 19:09:23 +11:00
Cameron McCormack
e4d74ce02b
Bug 508725 - Part 4: Add a content flag representing whether an element is a scoped style root. r=dbaron
2013-01-08 19:09:23 +11:00
Cameron McCormack
6b90406bb3
Bug 508725 - Part 3: Create a rule processor for each style scope. r=dbaron
2013-01-08 19:09:22 +11:00
Cameron McCormack
894a529cc1
Bug 508725 - Part 2: Record on nsCSSStyleSheets whether they are for a <style scoped>. r=dbaron
2013-01-08 19:09:22 +11:00
Cameron McCormack
cf1ba04fcb
Bug 508725 - Part 1: Add content flag representing whether an element is in a style scope. r=dbaron
2013-01-08 19:09:22 +11:00
Ehsan Akhgari
d807a8997a
Bug 827075 - Implement the -moz-menubar color and make it return the correct background color on gtk; r=roc
2013-01-05 23:07:27 -05:00
Jet Villegas
2dcb0b50f3
Bug 822854: Crash [@ nsRuleNode::ComputeColumnData] with -moz-column-rule-color: inherit r=heycam
2013-01-04 16:30:15 -08:00
Jet Villegas
480e7cc1c8
Bug 822854: Crash [@ nsRuleNode::ComputeColumnData] with -moz-column-rule-color: inherit r=heycam
2013-01-04 16:17:33 -08:00
Jeff Walden
120886ca73
Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger
2012-12-14 18:58:45 -05:00
Jeff Muizelaar
47c921e73e
Bug 801061. Switch from imgIRequest to imgRequestProxy. r=joe
...
This doesn't switch all of the users yet, but is a step in the right
direction.
--HG--
extra : rebase_source : 91b4fef3f67586179c119208d000cf7629e04963
2012-10-12 08:43:01 -04:00
Nicholas Nethercote
b7723e3c58
Bug 819819 (part 2) - Remove |name| from NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN. r=jlebar.
...
--HG--
rename : dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing_perwindowpb.html => dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing.html
rename : toolkit/components/places/tests/browser/browser_favicon_privatebrowsing_perwindowpb.js => toolkit/components/places/tests/browser/browser_favicon_privatebrowsing.js
extra : rebase_source : 557cc60522970ce7eea3b006d357284d9b4694c4
2012-12-23 16:59:51 -08:00
Mike Hommey
970436c3f8
Bug 821618 - Fix build failure with some compilers due to nsComputedDOMStyle::GetPropertyCSSValue definition. r=bz
2012-12-14 18:40:38 +01:00
Matt Woodrow
716946b5d9
Backout changeset e8f5182d94c5 (Bug 805343) for regressing android talos tests
2012-12-14 11:50:57 +13:00
Trevor Saunders
2d1d432957
bug 798567 - convert css values to webidl r=bz
2012-10-01 12:49:41 -04:00
Ms2ger
2536d3e260
Bug 820864 - Fix new build warnings in nsTransitionManager.cpp; r=nrc
2012-12-12 20:32:29 +01:00
Nicholas Cameron
daa58006c6
Bug 797520; improve OMTA logging. r=cjones
...
--HG--
extra : rebase_source : 25adf63183d996433b9b6b68ccf195820f662ca1
2012-12-12 10:12:47 +13:00
Nicholas Cameron
c54f8d4754
Bug 780692; throttle OMTA (rollup patch). r=dbaron,bz
...
--HG--
extra : rebase_source : 1207275df5c509ac1974e2b9333c738b995f9d5e
2012-12-12 10:12:43 +13:00
Robert O'Callahan
f3332e603a
Bug 805343. Identify DisplayItemDatas that are completely hidden by other opaque content in their ThebesLayer, and ignore them when we check to see whether there's an image we might need to invalidate. r=mattwoodrow
...
--HG--
extra : rebase_source : 7e68dc33324d8ff26286723bdbaaea18060354ac
2012-12-10 18:47:33 +13:00
Jonathan Kew
a294160dcc
bug 816483 - cache instantiated user fonts and share them across pages that use the same resources. r=roc
2012-12-10 09:31:07 +00:00
Daniel Holbert
7fa8f1dacd
Bug 783409: Enable "layout.css.flexbox.enabled" pref. r=dbaron
2012-12-07 10:58:34 -08:00
Daniel Holbert
dc33e393e8
back out 75cab729c971 because it landed with the wrong bug number
2012-12-07 11:15:27 -08:00
Daniel Holbert
fb0c7c3a70
Bug 783490: Enable "layout.css.flexbox.enabled" pref. r=dbaron
2012-12-07 10:58:34 -08:00
Robert O'Callahan
8e7070bef2
Bug 816458. Instead of removing the MAY_BE_TRANSFORMED bit in certain frame classes, add an nsIFrame::SupportsCSSTransforms method and call it when necessary. r=mats
2012-12-04 17:50:05 +13:00
Boris Zbarsky
b8f5cf0684
Bug 648722 part 2. Make :scope match the context node for selectors API calls. r=dbaron
2012-12-04 23:15:47 -05:00
Boris Zbarsky
cd6c640261
Bug 648722 part 1. Add a :scope pseudo-class that just matches the same thing as :root for now. r=dbaron
2012-12-04 23:15:47 -05:00
Eric Wong
cee09a8520
Bug 763001 - Typo in layout/style/nsCSSPseudoClassList.h. r=jaws
2012-12-03 22:32:27 -08:00
Patrick McManus
aef0638b1c
bug 792438 part 1 - identify css and head-based-js as dedicated network resources r=bz
2012-12-04 18:06:29 -05:00
Mats Palmgren
924e59e0d0
Bug 817574 - Replace NS_ABS with std::abs. r=roc
2012-12-04 13:33:33 +01:00
Edwin Flores
0c9f80a9ea
Bug 789390 - Fix crash when using -moz-objectStroke paint value with transitions r=dbaron
2012-09-24 00:10:00 +12:00
Ms2ger
0a0b1561d2
Bug 810668 - Fix some gcc4.6 build warnings; r=bz
2012-12-02 09:54:55 +01:00
Cameron McCormack
5bab670499
Bug 816720 - Allow CSSRule.insertRule to insert non-style rules. r=bz
2012-12-01 15:10:45 +11:00
Boris Zbarsky
fcf0a3e4fb
Bug 811021. Tell catalog sheets they have the document as an owning node so they won't get double-counted by memory reporters. r=dbaron
2012-11-29 18:24:04 -05:00
Boris Zbarsky
f0c76c3f82
Bug 815671 part 7. Fixes to layout code to not copy arrays implicitly. r=roc
2012-11-29 11:14:14 -05:00
Cameron McCormack
169d8c6267
Bug 816431 - Add unprefixed CSSRule.KEYFRAME{,S}_RULE constants. r=bz
2012-11-29 18:57:32 +11:00
Kyle Huey
83feb11ffb
Bug 812824: Use a clean struct for inheritance on root nodes. r=dbaron,Waldo
2012-11-28 13:21:36 -08:00
Cameron McCormack
557949bf7e
Bug 815021 - Implement MediaRule.conditionText setter. r?
2012-11-27 16:30:31 +11:00
Cameron McCormack
76405ff947
Bug 814907 - Add new CSS GroupingRule and ConditionRule interfaces. r=bz
2012-11-27 16:30:30 +11:00
Cameron McCormack
4a54741fec
Bug 815499 - Force @supports pref on for test_supports_rules.html. r=bz
2012-11-27 16:30:29 +11:00
David Zbarsky ext:(%2C%20David%20Baron%20%3Cdbaron%40dbaron.org%3E%2C%20Chris%20Jones%20%3Cjones.chris.g%40gmail.com%3E)
49219cce40
Bug 788409: When the compositor runs past the end of an animation, just fill forwards until the main thread catches up. r=dbaron a=blocking-basecamp
2012-11-22 15:49:06 -08:00
Cameron McCormack
4a492da39b
Bug 814310 - Force pref on for @supports reftests and skip mochitest if pref not set. r=bz
2012-10-06 11:17:02 +10:00
L. David Baron
f75d9419d4
border-image-* properties should clamp negative calc(). (Bug 802279) r=jwalden
2012-11-21 21:51:39 -08:00
Nils Maier
9f3f38d2c9
Bug 812887 - Fix nsUserFontSet not dropping the channel when nsIChannel::AsyncOpen fails. r=bz
2012-11-21 13:31:57 -05:00
Simon Montagu
07e8a16de0
Implementation of HTML5 dir=auto. Bug 548206, r=ehsan, peterv.
2012-11-21 02:13:57 -08:00
Seth Fowler
cd421a0e5e
Bug 812241 - Remove disabled test warnings. r=khuey
2012-11-20 16:13:04 -08:00
L. David Baron
2d99cbf924
Bug 813373, patch 4: fix printfs that crept in in patch 3.
2012-11-20 13:22:35 -08:00
L. David Baron
43366dc10f
Bug 813373, patch 3: Make sure all style rules have non-empty List implementations. r=bzbarsky
2012-11-20 11:55:14 -08:00
L. David Baron
f04e40072d
Bug 813373, patch 1: Remove pres context parameters from nsStyleAnimation::UncomputeValue. r=dholbert
2012-11-20 11:55:14 -08:00
Mounir Lamouri
bc72f9ee9e
Bug 810796 - Fix invalid CSS in forms.css. r=bz
2012-11-20 18:21:39 +00:00
Phil Ringnalda
54e6244801
Backout b7e492bf7c13, a64c112c6858, 84b9a773104b, 4bd4aabbaf28 and 24ad2de34061 (bug 548206) for Win Ru orange
2012-11-20 08:44:04 -08:00
Simon Montagu
ef21364c12
Implementation of HTML5 dir=auto. Bug 548206, r=ehsan, peterv
2012-11-20 06:21:15 -08:00
John Schoenick
afe0548a59
Bug 548133 - Remove special handling for object 'pluginurl' param. r=dolske,josh
2012-11-19 11:38:03 -08:00
Zack Weinberg
f6d51ce9b0
Bug 229827: escape unprintable characters in CSS parser diagnostics. r=dbaron
2012-11-16 21:53:38 -05:00
Ryan VanderMeulen
8a64b526bc
Backed out changesets b242651c3c1b (bug 229827), b36eaac9ecf8, and 40f38a8aa660 (bug 663291) for mochitest-3/4 failures.
...
CLOSED TREE
2012-11-16 16:59:38 -05:00
Zack Weinberg
04aa42be23
Bug 229827: escape unprintable characters in CSS parser diagnostics. r=dbaron
...
--HG--
extra : rebase_source : 9298095c2cd7669b5ca1a07cd5378a852c4a7f36
2012-11-16 15:29:21 -05:00
Ms2ger
332116e1c8
Bug 812344 - Don't use a qualified enum in CSSParserImpl::ParseDeclaration; r=roc
2012-11-16 08:30:18 +01:00
Robert O'Callahan
65b20a64a3
Bug 810470. Part 2: Change nsDisplayBackground invalidation to store and compare the background positioning rect. r=mattwoodrow
...
--HG--
extra : rebase_source : c9141ba46d034fc496a3e9e33efce5b022bec41c
2012-11-08 10:05:32 -05:00
Zack Weinberg
b63ce42eb9
Bug 455839: simplify the CSS error reporting API. r=dbaron
2012-11-15 11:36:15 -05:00
Zack Weinberg
662e668d9f
Bug 516091: Split CSS error reporting to its own file and class. Allows CSS scanner to become a stack object. r=dbaron
2012-11-15 11:36:15 -05:00
Henri Sivonen
d8f35376f4
Bug 796882 - Implement CSS charset handling according to CSS3 Syntax. r=bzbarsky.
2012-11-15 10:47:30 +02:00
Benoit Jacob
986ee1a065
Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8
2012-11-15 02:32:40 -05:00
Benoit Jacob
7cc7c472e5
Bug 806279 - CC macros refactoring: part 3: fold the TRAVERSE_NATIVE and AMBIGUOUS cases - r=mccr8,smaug
2012-11-15 02:32:39 -05:00
Benoit Jacob
06bfb63973
Bug 806279 - CC macros refactoring: part 2: generic BEGIN_ macros folding in the NATIVE case - r=mccr8,smaug
2012-11-15 02:32:39 -05:00
Ryan VanderMeulen
98268dbc6a
Backed out 8 changesets (bug 810470) due OSX reftest failures.
2012-11-14 22:14:44 -05:00
Brendan Dahl
6adcd0523c
Bug 115199 - CSS2 @page rule style support. r=dbaron
2012-08-31 14:21:28 -07:00
Robert O'Callahan
b528a1b610
Bug 810470. Part 2: Change nsDisplayBackground invalidation to store and compare the background positioning rect. r=mattwoodrow
...
--HG--
extra : rebase_source : 2a4f44b98000d52301053c685e50f81e251e7e8c
2012-11-08 10:05:32 -05:00