Commit Graph

2992 Commits

Author SHA1 Message Date
Boris Zbarsky
2c63b9ebb9 Bug 607441 part 2. Mark the scoped sheet rule processor dirty when author styles are enabled or disabled. r=dbaron 2013-03-27 22:47:26 -04:00
Boris Zbarsky
aa6fd1d340 Bug 607441 part 1. Don't disable SVG presentational attributes when page styles are disabled. r=dbaron,jwatt 2013-03-27 22:47:25 -04:00
Jonathan Watt
2c85ff8dcf Bug 854538 - Add a ::-moz-range-progress pseudo-element to <input type=range> for Firefox OS. r=dholbert 2013-03-26 23:04:41 +00:00
Mounir Lamouri
5663a2096f Bug 762270 - Align the file name to the right when direction is RTL. r=smontagu 2013-02-13 14:47:59 +00:00
Mounir Lamouri
3473000c3d Bug 838694 - Move the text showing the file name to the right of the browse button. r=bz 2013-02-09 15:09:14 +00:00
Mounir Lamouri
01c5c4a59d Bug 345195 - Replace the anonymous <input type='text'> in <input type='file'> by a xul:label. r=bz 2013-02-09 14:57:30 +00:00
Phil Ringnalda
bad5ef10f3 Back out c04824522d46 (bug 848973) for (at least) 10.8 and Android reftest failures
CLOSED TREE
2013-03-26 23:31:57 -07:00
Cameron McCormack
3b054d3f86 Bug 848973 - Document what aFrame means in nsStyleDisplay::IsBlockInside() and friends. r=roc 2013-03-27 15:49:56 +11:00
Daniel Holbert
134870baba Backout e912de49c12b (Bug 854538) due to M5 & crashtest oranges on a CLOSED TREE 2013-03-26 17:28:14 -07:00
Jonathan Watt
2cdfef6c8b Bug 854538 - Add a ::-moz-range-progress pseudo-element to <input type=range> for Firefox OS. r=dholbert 2013-03-26 23:04:41 +00:00
Jonathan Watt
71d7e34437 Bug 840820 - Make <input type=range> display as a vertical slider if it has an orient="vertical" attribute. r=mounir 2013-03-26 13:54:05 +00:00
William Chen
9ec88d1fbb Bug 818976 - Part 2: Implement template element interface. r=mrbkap,bz 2013-03-26 00:15:23 -07:00
Daniel Holbert
c6597c02f3 Bug 473236, 2013 edition: Remove executable bit from files that clearly don't need it (html, xhtml, xul, svg, png, jpg, ttf files in test dirs within /layout). DONTBUILD 2013-03-25 17:01:35 -07:00
Benoit Girard
fc10a7cfe4 Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 6ea7c660764a4390cdd8dd91561fff1d7bad6035
2013-03-18 15:25:50 +01:00
Benoit Girard
9d12529d78 Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
L. David Baron
e4467b2d8c Bug 849657: Fix bustage from changeset eb8d19e9c838. 2013-03-25 09:34:23 -07:00
L. David Baron
cde2c0f7b6 Bug 849657 patch 2: Change internal uses of 'CssFloat' to 'Float'. r=bzbarsky 2013-03-25 09:24:21 -07:00
L. David Baron
0caa71f669 Bug 849657 patch 1: Expose CSS_PROP_PUBLIC_OR_PRIVATE macro to users of nsCSSPropList.h rather than CSS_PROP_DOMPROP_PREFIXED, so that we can avoid 'CssFloat' spreading even further. r=bzbarsky 2013-03-25 09:24:21 -07:00
Cameron McCormack
35661a5229 Bug 842142 - Prevent odd text wrapping in SVG text. r=roc 2013-03-25 14:50:59 +11:00
Joshua Cranmer
969dfd9705 Bug 767563 - Add a clang static checker, part 3: Move the MOZ_MUST_OVERRIDE macro to MFBT. r=Waldo 2013-03-23 21:14:43 -05:00
Mats Palmgren
a98c0cde58 Backout rev 85397e0a6dba - wrong patch. r=me 2013-03-23 21:45:53 +01:00
Mats Palmgren
56ef5c292e Bug 851847 - Optimize nsBlockFrame::StealFrame when removing a normal flow child. r=bzbarsky 2013-03-23 21:10:34 +01:00
Daniel Holbert
efb17f8a4b Bug 782441 part 2: Tweak ua.css to make flex container properties inherit to ::-moz-scrolled-content, so that flex containers with "overflow" set will honor those properties. r=bz 2013-03-22 08:13:49 -07:00
David Zbarsky
5cc0fcdcdf Bug 847007: Remove nsIContent includes r=Ms2ger 2013-03-21 20:05:20 -04:00
Mike Shal
9680b82df6 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Trevor Saunders
8b11739fc1 bug 852379 - remove unecessary nsHashtable.h includes r=Ms2ger 2013-03-18 21:18:26 -04:00
Bobby Holley
1f9cf836e2 Bug 848939 - De-field marquee. r=jaws 2013-03-18 20:32:02 -07:00
Ed Morley
b2109c458f Backed out changeset c75481a07302 (bug 851611) 2013-03-18 14:10:35 +00:00
Ed Morley
2b1775b4e9 Backed out changeset d195190adc48 (bug 851611)
--HG--
rename : tools/profiler/GeckoProfiler.h => tools/profiler/sampler.h
rename : tools/profiler/GeckoProfilerImpl.h => tools/profiler/sps_sampler.h
2013-03-18 14:10:30 +00:00
Benoit Girard
664cf994b4 Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 552fe1d3ff61d15b264aaf86f7c8cb4f4eff69d1
2013-03-18 14:41:02 +01:00
Benoit Girard
c4c6a0ddf5 Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Gregory Szorc
2288b28e43 Bug 844635 - Part 3: Remove empty Makefile.in files; r=glandium 2013-03-17 18:01:25 -07:00
Boris Zbarsky
4b9d7b9b20 Bug 846972 part 3. Switch CSSStyleSheet to WebIDL. r=peterv 2013-03-17 10:45:01 -04:00
Boris Zbarsky
f257517c68 Bug 846972 part 2. Add the WebIDL APIs for StyleSheet and CSSStyleSheet. r=peterv 2013-03-17 10:42:59 -04:00
Boris Zbarsky
709b9d376a Bug 846972 part 1. Make nsCSSStyleSheet wrappercached. r=mccr8 2013-03-17 10:42:09 -04:00
Ms2ger
a2173990cc Bug 845374 - Part l: Stop including nsIDocument.h in nsContentUtils.h and fix two nits; r=khuey 2013-03-17 08:55:15 +01:00
Ms2ger
597a4c9da4 Bug 845374 - Part k: Stop including nsIContent.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:15 +01:00
Ms2ger
e3693c490b Bug 845374 - Part b: include nsAutoPtr.h in nsDOMCSSValueList.cpp; r=khuey 2013-03-17 08:55:08 +01:00
Jonathan Watt
0fbd87a19c Bug 846883 - Add support for native theming of <input type=range> on OS X. r=roc 2013-03-16 05:40:15 +00:00
Jeff Walden
fe256ffeed Bug 847480 - Convert DeprecatedAbs uses in animation code. r=dbaron
--HG--
extra : rebase_source : 25658f793054005db84485849d9205f56489830a
2013-03-09 14:20:04 -08:00
John Daggett
dcdead5448 Bug 847272 - avoid userfontset updates within font stream handling methods. r=jkew 2013-03-14 14:24:40 +09:00
Daniel Holbert
1a54a69881 Bug 849407: Disable flex item style fixup for anonymous content in nsFrameManager::ReResolveStyleContext(). r=bz 2013-03-13 13:54:05 -07:00
Ryan VanderMeulen
eab6210c29 Backed out changesets da71d1eb9521 and a174d3a0ce2e (bug 848939). 2013-03-13 15:12:30 -04:00
Jeff Walden
cc0ac55d6b Bug 847480 - Convert DeprecatedAbs overloads taking floating point (except for nscoord uses, when nscoord is optionally a floating point type) to Abs. r=Ms2ger 2013-03-05 15:43:44 -08:00
Jeff Walden
0bfefb7eed Bug 847480 - Blindly convert all existing mozilla::Abs users to mozilla::DeprecatedAbs. Individualized conversions to the reformed mozilla::Abs will continue until mozilla::DeprecatedAbs is unused, at which point it will be removed. r=Ms2ger 2013-03-05 15:43:30 -08:00
Bobby Holley
3d33242f84 Bug 848939 - De-field marquee. r=jaws 2013-03-13 10:01:37 -07:00
L. David Baron
00a602afdd Bug 804944, patch 2: Also condition @-moz-keyframes parsing on the animations preference. r=bzbarsky 2013-03-13 09:58:39 -07:00
L. David Baron
c2879a9a1a Make gAliases be just an array of ids. (Bug 849656, patch 4) r=bzbarsky 2013-03-13 09:58:39 -07:00
L. David Baron
3b8425c455 Move enabled state for aliases from gAliases to gPropertyEnabled. (Bug 849656, patch 3) r=bzbarsky 2013-03-13 09:58:39 -07:00
L. David Baron
893787aaa9 Move names for aliases from gAliases into kCSSRawProperties. (Bug 849656, patch 2) r=bzbarsky 2013-03-13 09:58:39 -07:00
L. David Baron
179b6637e9 Add ids for CSS property aliases to the nsCSSProperty enum. (Bug 849656, patch 1) r=bzbarsky
Note that this uses the method_ field of the CSS_PROP_ALIAS macro, which
is not consistent in style with the other values of nsCSSProperty.
However, these enum values are unlikely to be used explicitly, and it
avoids having to add an extra parameter to the macro.  (It might even be
better to change the other values to work this way.)
2013-03-13 09:58:39 -07:00
Masatoshi Kimura
e5e5a90814 Bug 848339 - Remove the vestigial boolean outparam from nsWrapperCache::WrapObject. r=bz 2013-03-12 08:03:47 +09:00
L. David Baron
6260684dc2 Backout changeset 6ff3de859ce3 (bug 804944), which depended on an unlanded patch that I currently have tagged for bug 784461. 2013-03-10 12:54:09 -07:00
L. David Baron
420637e091 Bug 804944, patch 2: Also condition @-moz-keyframes parsing on the animations preference. r=bzbarsky 2013-03-10 12:44:13 -07:00
Jonathan Watt
210bd9128b Bug 846380 - Add support for dragging of <input type=range>'s thumb using mouse/touch events. r=smaug, r=mounir. 2013-03-08 09:40:12 +00:00
Matt Woodrow
d791fb399a Bug 844750 - Don't use per-display-item invalidation for table frames. r=roc 2013-03-08 15:18:45 +13:00
L. David Baron
912f8e570f Bug 570896: Allow separate background-origin and background-clip to be set in the background shorthand. r=bzbarsky 2013-03-07 17:59:32 -08:00
Robert Longson
a760e89e0a Bug 848252 - Replace NS_FRAME_IS_SVG_TEXT checks with IsSVGText(). r=dholbert 2013-03-07 09:01:52 +00:00
Jared Wein
43677b479e Bug 253564 - Plain text (text/plain, text/javascript, text/css, etc) documents should word-wrap. r=bz 2013-03-06 23:45:08 -05:00
Jeff Walden
bf23cd54f1 Bug 835542 - Implement mozilla::Abs. r=Ms2ger
--HG--
extra : rebase_source : a3e62ff76365d27cc4cb10e4fee942ddb8b10b79
2013-02-15 19:55:36 -08:00
David Zbarsky
506b986ee0 [Bug 847110] bustage fix 2013-03-02 20:20:07 -05:00
David Zbarsky
2c3499b66c [Bug 847110] Fix up includes in layout/style r=dbaron 2013-03-02 19:31:48 -05:00
Jonathan Watt
e818e914b5 Bug 843725 - Add support for changing the value of <input type=range> using the up/down/left/right/pgup/pgdn/home/end keys. r=mounir, r=smaug. 2013-03-01 15:34:06 +00:00
Ryan VanderMeulen
cdce03a204 Backed out changeset 96c03dab9222 (bug 843725) for mochitest-5 failures on a CLOSED TREE. 2013-03-01 11:48:04 -05:00
Jonathan Watt
36034bb99e Bug 843725 - Add support for changing the value of <input type=range> using the up/down/left/right/pgup/pgdn/home/end keys. r=mounir, r=smaug. 2013-03-01 15:34:06 +00:00
Mounir Lamouri
2bea4e4640 Bug 375008 - Clicking a disabled element should not cause a focus change. r=Enn 2013-03-01 00:15:59 +00:00
Ms2ger
3813557cac Merge m-i to b-s. 2013-02-28 14:46:10 +01:00
Gregory Szorc
89d297a677 Merge mozilla-central into build-system
The 3 merged files had no conflicts and were manually verified to ensure
no incompatible changes crept in.
2013-02-27 21:02:02 -08:00
Gregory Szorc
f0b7e3972c Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Ms2ger
cd9c6150fe Merge m-c to b-s. 2013-02-26 19:09:25 +01:00
Gregory Szorc
2f35b94a0e Bug 784841 - Part 18t: Convert /layout; f=Ms2ger rs=ted 2013-02-25 12:47:22 -08:00
Mounir Lamouri
c0a032bb5b No Bug - Backout bug 375008 (6c59b73c8c4b) and re-enable test_focus.xul. r=distress 2013-02-27 15:53:41 +00:00
Jesse Silver
d81261ca3f Bug 833388 - Add a div to the video frame for track elements to use to display captions. r=roc 2013-02-26 16:06:51 -05:00
Mounir Lamouri
bcb7449d05 Bug 375008 - Clicking a disabled element should not cause a focus change. r=Enn 2013-02-27 14:17:43 +00:00
L. David Baron
33ec6bcee5 Bug 404077: Adjust annotations of expected assertions. 2013-02-27 14:55:16 -08:00
Peter Van der Beken
410cee5e49 Fix for bug 844225 (Remove some DOMCI and quickstubs). r=bz. 2013-01-10 10:54:46 +01:00
L. David Baron
a144cc1c82 Bug 404077: Use navigator.platform.startsWith rather than navigator.platform.indexOf, at Jesse's suggestion. 2013-02-26 22:23:08 -08:00
Jonathan Watt
35a0c32302 Bug 842163 - Show a focus ring around <input type=range>. r=mounir. 2013-02-26 21:26:41 +00:00
Kyle Huey
a2581f4219 Bug 816498: Fix some things about background attribute handling that are still broken. r=bz
As filed the bug is about table backgrounds failing to print.  The root cause of this is that we load images from the original document, because print/print-preview documents (which are static clones of the original) cannot do loads.  This results in an entry in the css::ImageValue's request table under the original document, but entry under the printing document.  Then we do layout, try to get the request, and fail, and nothing is displayed.  The solution to this is to force us to clone the request for the printing document if we're loading off the original document.  I manually verified that this does not regress Bug 560235.

While writing a test for this, we discovered another problem.  The reftest print code does not actually use the printing codepath.  Instead it takes an existing document, tears down its presshell, and creates a new presshell for printing.  Fixing the above bug did not make the reftest print test pass because ImageLoader does not deal properly with presshell destruction/recreation.  It assumes that when the presshell is destroyed all of the css::ImageValues can be cleared of their entries for that document.  This fails for ImageValues for mapped attributes because they are held alive by the content tree.  When a new presshell for this document is then created there is no entry for the document and thus no image request to paint.  The fix for this is to only clear the frame to request and request to frame mapping hashtables and not to clear the document's entry on the ImageValue when the presshell is destroyed.  The destruction of the ImageLoader (which is held from a strong reference on the document) is when those entries are removed.  The final change is to change css::ImageValue's hashtable from holding a strong reference to the keys (which are documents) to holding raw pointer references.  This is safe because we clear the relevant entry when the corresponding ImageLoader dies, and is needed to prevent a reference cycle that was being broken by presshell destruction.

--HG--
rename : layout/reftests/backgrounds/table-background-ref.html => layout/reftests/backgrounds/table-background-print-ref.html
rename : layout/reftests/backgrounds/table-background.html => layout/reftests/backgrounds/table-background-print.html
2013-02-23 06:59:43 -08:00
Mats Palmgren
aec52bbfed Bug 843322 - Make CSS 'text-overflow' apply to ::-moz-placeholder. r=roc 2013-02-23 11:38:15 +01:00
Phil Ringnalda
91d0dcf37d Back out 5520e123f526 (bug 763879) for b2g mochitest-8 and mochitest-9 failures 2013-02-22 20:40:24 -08:00
Nicholas Cameron
1053ca3ea4 Bug 845188; initialise CommonAnimationData::mGenerationCount; r=roc 2013-02-26 19:21:26 +13:00
L. David Baron
57d19fbb86 Bug 404077: Annotate known assertions in mochitests. 2013-02-25 18:39:21 -08:00
Sid Stamm
be0016e68d Bug 763879 - implement inline stylesheet blocking for CSP (r=dbaron) 2012-08-30 10:58:24 -07:00
Daniel Holbert
e7503d88da Bug 812822 part 3: Add a TreeMatchContext flag to indicate that we should skip flex item style fixup, and use it when framing anonymous content in ConstructFrame(). r=bz 2013-02-20 23:35:03 -08:00
Daniel Holbert
d0d98743a1 Bug 812822 part 2: Skip flex-item style fixup when resolving style for pseudo-elements. r=bz 2013-02-20 23:35:02 -08:00
Daniel Holbert
5cd48e0295 Bug 812822 part 1: Add flag 'eSkipFlexItemStyleFixup' to let our nsStyleContext creation functions skip the flex-item-specific chunk of ApplyStyleFixups(). r=bz 2013-02-20 23:34:58 -08:00
Cameron McCormack
ea7e4b18e6 Bug 842772 - Followup to address review comments. 2013-02-20 11:58:25 +11:00
Cameron McCormack
b78d8bd4ff Bug 842772 - Don't test for mask-type when the pref is disabled. r=dbaron 2013-02-20 11:24:42 +11:00
Cameron McCormack
c248494ae8 Bug 842829 - Fix test_condition_text.html to parse the style sheet after the pref is set. r=dbaron 2013-02-20 11:25:10 +11:00
Matt Woodrow
bfb6ac7eab Bug 840480 r=roc 2013-02-20 13:13:01 +13:00
L. David Baron
0e7ae1f64b Bug 563195: Add -Wshadow to CFLAGS/CXXFLAGS for layout/style. r=ted
Since this directory has FAIL_ON_WARNINGS set, this will cause any
shadowing warnings triggered by headers included in layout/style to
cause errors.

Once this patch is reviewed, I'll write and attach patches to fix the
warnings needed to land this.
2013-02-17 22:56:32 -08:00
L. David Baron
a418f3704b Bug 563195: Fix -Wshadow warnings in layout/style. r=bzbarsky 2013-02-17 22:56:32 -08:00
Zack Weinberg
f03df97325 Bug 842134: fix serialization of unquoted url() in CSS. r=heycam 2013-02-17 22:03:55 -05:00
L. David Baron
27140199ac Bug 841983: Require whitespace around 'not', 'and', and 'or' keywords in @supports rules. r=heycam
Matches spec change in https://dvcs.w3.org/hg/csswg/rev/34b185ae3bac .
2013-02-16 21:29:38 -08:00
Zack Weinberg
324e50ea81 Bug 543151, part A4: unify the inner text-scanning loops used by GatherIdent, ScanString, NextURL. r=heycam 2013-02-16 18:27:53 -05:00
Zack Weinberg
59b9cbc048 Bug 543151, part A3: convert the scanner to use peek/advance. r=heycam 2013-02-16 18:27:53 -05:00
Zack Weinberg
781c8690dc Bug 543151, part A2: Introduce the new peek/advance API and reimplement the old read/pushback API on top of it. r=heycam 2013-02-16 18:27:53 -05:00
Zack Weinberg
ad3efbd714 Bug 543151, part A1: Preliminary cleanups to the scanner/parser interface and the organization of nsCSSScanner.cpp. r=heycam 2013-02-16 18:27:53 -05:00
L. David Baron
1162fa289b Bug 781360 patch 4: Remove the Get from nsStyleContext::GetStyleData and nsIFrame::GetStyleDataExternal, which never return null. r=dholbert 2013-02-16 13:51:03 -08:00