Commit Graph

3201 Commits

Author SHA1 Message Date
Jonathan Watt
c44e28a47c 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
5dc60f0aa8 Backed out changeset 831c1928fba9 (bug 875037) for mochitest-1 assertions on a CLOSED TREE 2013-05-24 16:03:03 -04:00
Jonathan Watt
cdd51f042b 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
060d253855 No bug - fix incorrect comment on nsStyleAnimation::UncomputeValue r=me 2013-05-24 22:19:28 +08:00
Daniel Holbert
5423d3fe0d Bug 585185: Parse font-sizes as non-negative, in 'font' shorthand. r=dbaron 2013-05-24 09:39:03 +08:00
Boris Zbarsky
decdabaacb 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
91bfa3c31a 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
7c6786d1d2 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
fc0f3597bc 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
7d2f6a8e24 Bug 788549 Part 3: Refactor nsComputedDOMStyle::DoGetTransform r=dbaron 2013-05-23 15:09:27 +08:00
David Zbarsky
f7abc6a2b2 Bug 788549 Part 2: Remove nsComputedDOMStyle::GetROCSSPrimitiveValue r=dbaron 2013-05-23 15:09:26 +08:00
David Zbarsky
bbfd5fd484 [Bug 875204] Merge OMTA prefs r=nrc 2013-05-23 15:09:26 +08:00
L. David Baron
cf6bee7ae2 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
59e9a53413 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
7053ccd2a5 Bug 563884 - Add styling for the link tag and add reftests. r=bz 2013-05-22 07:58:09 -04:00
David Zbarsky
4b7f63887c Bug 874770 - Always enable OMTA throttling r=nrc 2013-05-22 18:31:03 +08:00
Jonathan Kew
9af24cb77c 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
ec3bf09cb0 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
78739a25c8 Bug 864553 part 2: Minor cleanup to formerly-ifdef-MOZ_FLEXBOX code. r=dbaron 2013-05-22 11:44:52 +08:00
Daniel Holbert
568a0e9c03 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
f312fce963 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
76cfaf4368 Bug 871887 - Make sure |this|-binding is correct or marquee event listeners. r=bz 2013-05-20 11:33:49 -06:00
John Daggett
6ef6e22846 Bug 549861 - add missing files from reland patch. r=bustage 2013-05-20 12:47:32 +09:00
John Daggett
aa507d8c18 Bug 549861 - reland font-variant subproperties with DOM-peer review. r=khuey 2013-05-20 11:59:20 +09:00
Ms2ger
9d5803279f Merge backout. 2013-05-19 20:26:58 +02:00
Ms2ger
e0c18984a5 Backout bug 549861 (changesets 27fb48df15ce:7ecd4e3863b4) for insufficient review. 2013-05-19 20:23:19 +02:00
John Daggett
9558e43335 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
5c527e4327 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
6758cb5e04 Bug 549861. Implement support for @font-feature-values rule. r=dbaron 2013-05-13 18:45:37 +09:00
John Daggett
57964002fe Bug 549861. Implement CSS parsing of font-variant-alternates. r=dbaron 2013-05-13 18:45:37 +09:00
John Daggett
a00ecfde45 Bug 549861. Parse simple font-variant subproperties. r=dbaron 2013-05-13 18:45:36 +09:00
Ed Morley
2710e5d6a9 Backed out changeset 496846474ed3 (bug 864774) 2013-05-13 10:05:49 +01:00
Mike Shal
d2b29f4e87 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
c1e03641e2 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
d8a27f177a 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
dbba9baf39 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
b436d2b23d 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
18e978a375 Bug 867530 - Make the current poison consumers use the new API. r=roc 2013-05-07 20:48:59 +02:00
Jeff Muizelaar
6d373b1bb7 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
d3e92cd2f3 Merge m-c to m-i 2013-05-05 12:17:07 -07:00
Olli Pettay
56514d79da 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
651b9b2b24 Bug 868729 - Remove nsHTMLCSSStyleSheet::Init; r=bz 2013-05-05 09:03:20 +02:00
Olli Pettay
d8f8f5e50b 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
ac44aa8903 Bug 848291 - Update TransitionEvent to be compatible with the spec, r=dbaron 2013-05-04 17:41:20 +03:00
Daniel Holbert
42771dcfef 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
15b6f78be0 Bug 636564 - Implement lion style scrollbars on Mac OSX 10.7+; r=roc 2013-05-02 10:58:00 -04:00
Aryeh Gregor
91cb3e0c40 Bug 859817 - Make nsStringBuffer::Alloc return already_AddRefed; r=bz 2013-04-22 14:13:22 +03:00
Ian Melven
3cb5f27888 Bug 763879 - implement inline stylesheet blocking for CSP (r=dbaron) 2012-08-30 10:58:24 -07:00
Ryan VanderMeulen
600d2857cc 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
0b6b28c5d7 Bug 763879 - implement inline stylesheet blocking for CSP (r=dbaron) 2012-08-30 10:58:24 -07:00
Ted Mielczarek
47d7af59de 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
9c655c183c Bug 839103 - Part 11: Add StyleRule{Added,Removed,Changed} events. r=bz 2013-05-16 17:13:36 +10:00
Phil Ringnalda
5ad98aed12 Back out 4d755ea39a56:81d152795bea (bug 798843) for style mochitest failures 2013-05-15 20:53:30 -07:00
Cameron McCormack
5c2a5c6ee4 Bug 872111 - Make test_rule_insertion.html more tolerant to text measurements. r=bz 2013-05-16 13:27:03 +10:00
Edwin Flores
01a69ae836 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
a4c230a033 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
2e60cad213 Bug 871887 - Fix marquee _setEventListener. r=bz 2013-05-15 18:59:53 -07:00
Boris Zbarsky
7386be95e5 Bug 870845. Correctly check for parse-inaccessible properties in inDOMUtils::GetCSSPropertyNames. r=heycam 2013-05-14 14:20:58 -04:00
Ryan VanderMeulen
a7737c8f7f 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
6656d4c597 Bug 870845. Correctly check for parse-inaccessible properties in inDOMUtils::GetCSSPropertyNames. r=heycam 2013-05-14 14:20:58 -04:00
Arnaud Sourioux
a57d318afa Bug 870516: Annotate ~600 more methods with MOZ_OVERRIDE in /layout r=dholbert 2013-05-14 09:33:23 -07:00
Jonathan Kew
1a2d045dd7 bug 857089 - backout changeset b85353b6cc38 pending revised UI for the feature 2013-05-01 10:12:41 +01:00
Bobby Holley
bea5c24967 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
edb82c4095 Bug 859018 - Remove the MSVC exemption for FAIL_ON_WARNINGS in layout. r=dbaron 2013-04-28 19:02:35 +09:00
Aryeh Gregor
e78504c9a9 Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03:00
Boris Zbarsky
f75142b01d 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
7e95d4e275 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
cd040643ae 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
d01105b5e7 Bug 862113. Fix test for CSS2 pseudo-elements to not trigger assertions. r=dholbert 2013-04-18 01:21:46 -04:00
Mike Shal
24b4056720 Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Daniel Holbert
62f493f674 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
e8e3de45e1 Bug 860180 - Prefer UTF-16BE/LE to UTF-16. r=hsivonen 2013-04-16 21:19:29 +09:00
Mats Palmgren
1e9bd59184 Bug 856368 - Merge nsPresArena::mState into nsPresArena itself. r=roc 2013-04-15 22:00:06 +02:00
Masayuki Nakano
c8e059b44d Bug 857820 part.1 Drop blink effect implementation r=dbaron 2013-04-14 19:11:07 +09:00
Joshua Cranmer
c763b1352e 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
28ee11a080 Bug 678392 - Add support for swipe animation as in Safari. r=smichaud,jaws,felipc 2013-04-09 14:44:01 -05:00
Cameron McCormack
9b2d903aae 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
97cde7dc7f Backed out changeset dc4066373f5a (bug 849399) for failures in test_bug451286.xul 2013-04-09 11:45:13 +01:00
Nicholas Cameron
6ab5a930f2 Bug 849399. Invalidate existing style rule if we start a transition. r=dbaron 2013-04-09 21:09:11 +12:00
Masatoshi Kimura
98ede15b45 Bug 771975 - Remove -moz-prefixed gradients usage from rest of the tree. r=roc 2013-04-09 07:44:26 +09:00
Trevor Saunders
1e1929f0f1 bug 856779 - make nsStyleSet::Init() return void r=dholbert 2013-03-31 18:08:29 -04:00
Ms2ger
046d6a22b7 No bug - Remove Windows line endings from layout/style/AnimationCommon.cpp. 2013-04-06 22:16:46 +02:00
David Creswick
736bab73e0 Bug 856317 - Expose the column number of style rules via inIDOMUtils. r=dbaron 2013-04-06 12:38:56 -05:00
Scott Johnson
8a55c95bae 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
4bb26ad35c Backout 5820d44601c1 (bug 520992) for build bustage 2013-04-05 11:52:59 -04:00
Scott Johnson
9aae247ee2 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
6709e4eafc 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
0ba930f4d9 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
a42dcdd17f 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
0bcbb8475c 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
118ccf59eb Bug 856402 - null-check the result of GetParentStyleSheet. r=dbaron 2013-04-03 15:13:17 +09:00
Trevor Saunders
10fef398ec bug 856794 - don't check the return value of nsTArray::EnsureLengthAtLeast() r=heycam 2013-04-01 16:54:20 -04:00
Cameron McCormack
30b5ba2337 Bug 856879 - Remove constructor arguments argument from style struct macros. r=dbaron 2013-04-02 12:45:48 +11:00
Seth Fowler
c1cfdfcbc1 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
0d9ec37b4c 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
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
d2b6e6e01a 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
5663b98bc5 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
8d952d99ee Bug 839788 - Switch Browse button from an <input> to a <button>. r=bz 2013-03-29 12:32:47 +00:00
Ryan VanderMeulen
541c7cafe0 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
aa5643ad17 Bug 839788 - Switch Browse button from an <input> to a <button>. r=bz 2013-03-28 11:24:14 +00:00
Jonathan Watt
6759296438 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
3f7ca54cce Backed out changeset f0b16aba4df7 (bug 839788) for mochitest failures on a CLOSED TREE. 2013-03-28 08:49:04 -04:00
Mounir Lamouri
83edc3d65a Bug 839788 - Switch Browse button from an <input> to a <button>. r=bz 2013-03-28 11:24:14 +00:00
Daniel Holbert
2004ef3547 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
ad0dde7ba7 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
69a1c9d235 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
1ccacc57ca 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
76e67c524b 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
2d4598b39b 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
022d9c4763 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
df50dd8f1a 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
82c99905b2 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
015fff5203 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
bf67780213 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
84688e6fa9 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
f8dac34a11 Bug 848973 - Document what aFrame means in nsStyleDisplay::IsBlockInside() and friends. r=roc 2013-03-27 15:49:56 +11:00
Daniel Holbert
cbbe610823 Backout e912de49c12b (Bug 854538) due to M5 & crashtest oranges on a CLOSED TREE 2013-03-26 17:28:14 -07:00
Jonathan Watt
51073c5def 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
162f23f8fc 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
4e5268c69a Bug 818976 - Part 2: Implement template element interface. r=mrbkap,bz 2013-03-26 00:15:23 -07:00
Daniel Holbert
cdb46fbf89 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
6ed333dbb5 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
bbe4c3065e 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
379c46c244 Bug 849657: Fix bustage from changeset eb8d19e9c838. 2013-03-25 09:34:23 -07:00
L. David Baron
b7f2e87f36 Bug 849657 patch 2: Change internal uses of 'CssFloat' to 'Float'. r=bzbarsky 2013-03-25 09:24:21 -07:00
L. David Baron
8dc54af84c 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
1d87113442 Bug 842142 - Prevent odd text wrapping in SVG text. r=roc 2013-03-25 14:50:59 +11:00
Joshua Cranmer
c992967d69 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
3db9895bc1 Backout rev 85397e0a6dba - wrong patch. r=me 2013-03-23 21:45:53 +01:00
Mats Palmgren
1f8322a617 Bug 851847 - Optimize nsBlockFrame::StealFrame when removing a normal flow child. r=bzbarsky 2013-03-23 21:10:34 +01:00
Daniel Holbert
ad63fb64cd 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
f982db0249 Bug 847007: Remove nsIContent includes r=Ms2ger 2013-03-21 20:05:20 -04:00
Mike Shal
ea1d9b8ba7 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Trevor Saunders
324dfcc313 bug 852379 - remove unecessary nsHashtable.h includes r=Ms2ger 2013-03-18 21:18:26 -04:00
Bobby Holley
aa001e2bd8 Bug 848939 - De-field marquee. r=jaws 2013-03-18 20:32:02 -07:00
Ed Morley
4a0f5f39ca Backed out changeset c75481a07302 (bug 851611) 2013-03-18 14:10:35 +00:00
Ed Morley
47bc17c5f5 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
90f13c7e56 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
95a5b4c35f Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Gregory Szorc
02d1d31696 Bug 844635 - Part 3: Remove empty Makefile.in files; r=glandium 2013-03-17 18:01:25 -07:00
Boris Zbarsky
ae8287bbef Bug 846972 part 3. Switch CSSStyleSheet to WebIDL. r=peterv 2013-03-17 10:45:01 -04:00
Boris Zbarsky
9482e7c07a Bug 846972 part 2. Add the WebIDL APIs for StyleSheet and CSSStyleSheet. r=peterv 2013-03-17 10:42:59 -04:00
Boris Zbarsky
bd34362e96 Bug 846972 part 1. Make nsCSSStyleSheet wrappercached. r=mccr8 2013-03-17 10:42:09 -04:00
Ms2ger
24bcddcf77 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
8c29c30b58 Bug 845374 - Part k: Stop including nsIContent.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:15 +01:00
Ms2ger
bf24250ade Bug 845374 - Part b: include nsAutoPtr.h in nsDOMCSSValueList.cpp; r=khuey 2013-03-17 08:55:08 +01:00
Jonathan Watt
02ce4ceb97 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
48a4322499 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
3184eb61b9 Bug 847272 - avoid userfontset updates within font stream handling methods. r=jkew 2013-03-14 14:24:40 +09:00
Daniel Holbert
019596e0ab 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
e6b47c1873 Backed out changesets da71d1eb9521 and a174d3a0ce2e (bug 848939). 2013-03-13 15:12:30 -04:00
Jeff Walden
45c6642e41 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
000d820503 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
c425f8edd8 Bug 848939 - De-field marquee. r=jaws 2013-03-13 10:01:37 -07:00
L. David Baron
d981acd761 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
60943056b5 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
a87eac66d9 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
5f639edc78 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
03b97f192d 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
7693df618d Bug 848339 - Remove the vestigial boolean outparam from nsWrapperCache::WrapObject. r=bz 2013-03-12 08:03:47 +09:00
L. David Baron
7597ea5b26 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
c387d7e9b0 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
96c995755b 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
981f3ba59b 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
6301e3b6dc 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
9de29c73c8 Bug 848252 - Replace NS_FRAME_IS_SVG_TEXT checks with IsSVGText(). r=dholbert 2013-03-07 09:01:52 +00:00
Jared Wein
623cd12556 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
72eca3f9c1 Bug 835542 - Implement mozilla::Abs. r=Ms2ger
--HG--
extra : rebase_source : a3e62ff76365d27cc4cb10e4fee942ddb8b10b79
2013-02-15 19:55:36 -08:00
David Zbarsky
c02aeddcb3 [Bug 847110] bustage fix 2013-03-02 20:20:07 -05:00
David Zbarsky
c596ef885a [Bug 847110] Fix up includes in layout/style r=dbaron 2013-03-02 19:31:48 -05:00
Jonathan Watt
134f01fed9 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
42f5153b7d Backed out changeset 96c03dab9222 (bug 843725) for mochitest-5 failures on a CLOSED TREE. 2013-03-01 11:48:04 -05:00
Jonathan Watt
faf2237d71 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
f7d21913df Bug 375008 - Clicking a disabled element should not cause a focus change. r=Enn 2013-03-01 00:15:59 +00:00
Ms2ger
c6832bb745 Merge m-i to b-s. 2013-02-28 14:46:10 +01:00
Gregory Szorc
27c42e83c6 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
803629b9c6 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
2801c25ab8 Merge m-c to b-s. 2013-02-26 19:09:25 +01:00
Gregory Szorc
4f23f29382 Bug 784841 - Part 18t: Convert /layout; f=Ms2ger rs=ted 2013-02-25 12:47:22 -08:00
Mounir Lamouri
ba864d4737 No Bug - Backout bug 375008 (6c59b73c8c4b) and re-enable test_focus.xul. r=distress 2013-02-27 15:53:41 +00:00
Jesse Silver
6cc127e4bd 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
bf4688e1f4 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
b109fbe639 Bug 404077: Adjust annotations of expected assertions. 2013-02-27 14:55:16 -08:00
Peter Van der Beken
60efffbed9 Fix for bug 844225 (Remove some DOMCI and quickstubs). r=bz. 2013-01-10 10:54:46 +01:00
L. David Baron
05d5d9dfa9 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
40d69457ad Bug 842163 - Show a focus ring around <input type=range>. r=mounir. 2013-02-26 21:26:41 +00:00
Kyle Huey
c28e572034 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
fc31aa02d6 Bug 843322 - Make CSS 'text-overflow' apply to ::-moz-placeholder. r=roc 2013-02-23 11:38:15 +01:00
Phil Ringnalda
f8406b2842 Back out 5520e123f526 (bug 763879) for b2g mochitest-8 and mochitest-9 failures 2013-02-22 20:40:24 -08:00
Nicholas Cameron
c6411d69df Bug 845188; initialise CommonAnimationData::mGenerationCount; r=roc 2013-02-26 19:21:26 +13:00
L. David Baron
4f4296979b Bug 404077: Annotate known assertions in mochitests. 2013-02-25 18:39:21 -08:00
Sid Stamm
4820de61f9 Bug 763879 - implement inline stylesheet blocking for CSP (r=dbaron) 2012-08-30 10:58:24 -07:00
Daniel Holbert
4987835a8d 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
dc9d1895ce 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
938d346252 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
801773f4d6 Bug 842772 - Followup to address review comments. 2013-02-20 11:58:25 +11:00
Cameron McCormack
f8e992d7af 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
58fda9ceeb 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
2d2e695b90 Bug 840480 r=roc 2013-02-20 13:13:01 +13:00