Daniel Holbert
27a432d4a3
Bug 600574 part 2: Check for SVG images with viewBox in nsStyleBackground::Layer::RenderingMightDependOnFrameSize. r=bz r=longsonr a=blocking-betaN+
2010-10-06 15:18:52 -07:00
Daniel Holbert
59c52c95d8
Bug 600574 part 1: Move nsStyleBackground::Layer::RenderingMightDependOnFrameSize to .cpp file. r=bz a=blocking-betaN+
2010-10-06 15:18:52 -07:00
Josh Matthews
0984e327c5
Bug 474356 - Add -moz-device-pixel-ratio media query. r=dbaron a=approval2.0
...
--HG--
extra : rebase_source : 3a477fe6eab09f693538008aafa9c8bf880597b1
2010-09-10 16:27:52 -04:00
Josh Matthews
37d6567b57
Backed out changeset ec2ffd935bd9 a=test-bustage
2010-09-11 21:04:09 -04:00
Josh Matthews
3576dc896d
Bug 474356 - Add -moz-device-pixel-ratio media query. r=dbaron a=approval2.0
...
--HG--
extra : rebase_source : 1455dfbf13b66ac58cd2a66514c88adc76ff1a6c
2010-09-11 19:21:48 -04:00
L. David Baron
344df4887f
Simplify storage of computed calc() as a result of removing min() and max(). (Bug 363249) r=bzbarsky a2.0=blocking2.0:beta6
2010-09-11 09:27:13 -07:00
L. David Baron
ced73624ca
Rename -moz-box-shadow to box-shadow: manual changes. (Bug 590039) r=bzbarsky a2.0=blocking2.0:beta6
2010-09-11 09:27:13 -07:00
L. David Baron
5859a14a99
Rename -moz-box-shadow to box-shadow: mechanical changes. (Bug 590039) r=bzbarsky a2.0=blocking2.0:beta6
...
Generated with:
find * -type f -exec sed -i -e 's/\<MozBoxShadow\>/boxShadow/g;s/-moz-box-shadow/box-shadow/gi' {} \;
2010-09-11 09:27:12 -07:00
L. David Baron
fa356d0a17
Remove support for min() and max() in calc(): remove support for parsing and storage. (Bug 363249) r=bzbarsky a2.0=blocking2.0:beta6
2010-09-11 09:27:12 -07:00
L. David Baron
7476de1256
Change blur radii in themes and in some tests to match change in how we interpret text-shadow and -moz-box-shadow blur radii. (Bug 590039) r=dao a2.0=blocking2.0:beta6
2010-09-11 09:27:12 -07:00
Mounir Lamouri
634680ac7d
Bug 582277 - Default style for :-moz-submit-invalid pseudo-class. r+a=dbaron
2010-09-10 20:40:49 +02:00
Joel Maher
3b1fb9d8ce
Bug 592859 Update browser chrome tests to only use chrome paths for mochitest to prep for android support r=ctalbert a=NPOTB
2010-09-10 10:20:38 -07:00
Mounir Lamouri
af7af7ba81
Bug 555840 - Implement datalist element. r=sicking,mrbkap,ehsan sr=smaug a2.0=roc
2010-09-10 07:16:56 +02:00
Mounir Lamouri
c509a433c2
Bug 580575 - Implement :-moz-submit-invalid pseudo-class applying on submit buttons when the form is invalid. r=bz sr=sicking a2.0=roc
2010-09-10 07:08:56 +02:00
L. David Baron
a0ab32f306
Add aliases for old names of border-radius properties. (Bug 451134) r=bzbarsky a2.0=blocking2.0:beta6
2010-09-09 08:21:48 -07:00
Zack Weinberg
b8aabe9d10
Bug 451134 (2/2): switch to the official border-radius property names: by-hand changes. r=dbaron a2.0=blocking2.0:beta6
2010-09-09 08:21:48 -07:00
Zack Weinberg ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
e4c76eccb0
Bug 451134 (1/2): switch to the official border-radius property names: purely mechanical changes. r=dbaron a2.0=blocking2.0:beta6
...
This was generated with the command:
LC_ALL=C grep -irlEZe '[-_]moz[-_]border[-_]radius([-_](top|bottom)(right|left))?' * | xargs -0 perl -pi -e \
's/-moz-border-radius-(top|bottom)(left|right)/border-${1}-${2}-radius/gi;
s/_moz_border_radius_(top|bottom)Right/border_${1}_right_radius/g;
s/_moz_border_radius_(top|bottom)Left/border_${1}_left_radius/g;
s/-moz-border-radius/border-radius/gi;
s/_moz_border_radius/border_radius/g;'
2010-09-09 08:21:47 -07:00
L. David Baron
4c8a8b3d3d
Add an invalid-value test for text-shadow that we already have for -moz-box-shadow. a2.0=tests
2010-09-09 08:21:46 -07:00
L. David Baron
7d8d7e59ed
Fix missing computation half of calc() for border-*-width. (Bug 363249) r=bzbarsky a2.0=blocking2.0:beta6
2010-09-09 08:21:46 -07:00
L. David Baron
e06e2d58f5
Add calc() support for two properties I missed: outline-width and column-gap. (Bug 363249) r=bzbarsky a2.0=blocking2.0:beta6
2010-09-09 08:21:46 -07:00
L. David Baron
7a6fa51b18
Negative values for stroke-dasharray should be rejected. (Bug 585715) r=bzbarsky a2.0=blocking2.0:beta6
2010-09-09 08:21:46 -07:00
L. David Baron
f9bc2d9cef
Fix places where I missed clamping negative calc() to 0. (Bug 585715) r=bzbarsky a2.0=blocking2.0:beta6
2010-09-09 08:21:46 -07:00
L. David Baron
af2f9eff65
Fix missing frame in style system mochitests. (Bug 585715) r=bzbarsky a2.0=blocking2.0:beta6
2010-09-09 08:21:46 -07:00
L. David Baron
8aaf22a0f4
Add support for calc() on -moz-border-radius and -moz-outline-radius. (Bug 585715) r=bzbarsky a2.0=blocking2.0:beta6
2010-09-09 08:21:45 -07:00
Bobby Holley
dbade7f8ac
Bug 592493 - Register border-images with the document image tracker.r=dbaron
2010-09-07 17:30:40 -07:00
Boris Zbarsky
aac4d32fca
Bug 593544 followup. Don't force legends to display:block for now. r+a=orange
2010-09-07 15:54:32 -04:00
Boris Zbarsky
4753f55125
Bug 593544. Apply first-letter to legends. r=dbaron a=dbaron
2010-09-07 15:10:42 -04:00
Bobby Holley
dc8b4d0852
bug 512260 - part 6 - lock images in nsStyleList::SetListStyleImage.r=dbaron,a=blocker
2010-08-16 12:23:09 -04:00
Bobby Holley
20c25243b6
bug 512260 - part 5 - make nsCursorImage::mImage private, add getter/setter, and lock images in the setter.r=dbaron,a=blocker
2010-08-16 12:19:26 -04:00
Bobby Holley
b3f5a9dc56
bug 512260 - part 4 - call nsDocument::AddImage and RemoveImage on images stored in nsStyleContentData.r=dbaron,a=blocker
2010-08-06 13:27:01 -04:00
Bobby Holley
250fbc04bd
bug 512260 - part 3 - call nsDocument::AddImage and RemoveImage on images stored in nsStyleBackground.r=dbaron,a=blocker
2010-08-05 17:57:18 -04:00
Bobby Holley
6788ead45a
bug 512260 - part 2 - Make ImageRenderer take a pointer to nsStyleImage rather than making a copy.r=dbaron,a=blocker
2010-08-05 17:30:19 -04:00
Robert O'Callahan
20c2a19d6a
Bug 537890. Part 10: Fix nsPresContext and nsIDeviceContext unit-conversion methods to be explicit about using CSS logical units instead of physical units. r=dbaron
2010-08-13 21:58:04 +12:00
Robert O'Callahan
dfbb28ab06
Bug 537890. Part 7: Tests for pt/pc/mm/cm/in not being physical units, and for mozmm being physical units. r=dbaron
2010-08-13 21:58:02 +12:00
Robert O'Callahan
dc13662908
Bug 537890. Part 5: Make pc, in, mm and cm be a fixed number of CSS pixels. r=dbaron
2010-08-13 21:58:02 +12:00
Robert O'Callahan
907d0109b7
Bug 537890. Part 4.5: Create 'mozmm' unit for physical millimeters on screen devices. r=dbaron
2010-08-13 21:58:02 +12:00
Robert O'Callahan
b7df1787ef
Bug 537890. Part 4: Make points be a fixed number of CSS pixels. r=dbaron
2010-08-13 21:58:01 +12:00
Robert O'Callahan
87bbf8a495
Bug 537890. Part 8: Define MM_PER_INCH_FLOAT. r=dbaron
2010-08-13 21:57:57 +12:00
Rob Arnold
beb6ddf7e8
Bug 554982 - Add support for borderless glass and remove the borders from the main window. r=roc,dao a=blocking2.0
2010-08-17 23:07:10 -04:00
Ms2ger
120c26ed9f
Make nsICSSRule::Clone return the cloned value directly. (Bug 585137) r=bzbarsky a2.0=dbaron
2010-08-15 11:19:34 -04:00
L. David Baron
810d004cf3
Correct parenthesis-matching inside of :not(). (Bug 586070) r=bzbarsky a2.0=bsmedberg
2010-08-15 08:42:29 -04:00
Robert O'Callahan
f8dc984ede
Backing out bug 584282 and bug 537890
2010-08-14 02:35:06 +12:00
Markus Stange
3df2a2ce8e
Bug 506826 - Parsing for background-image: -moz-element(#elementID). r=dbaron
2010-08-13 15:33:37 +02:00
L. David Baron
ee89e22866
Add support for calc() to the 'width' property. (Bug 585715) r=bzbarsky a2.0=blocking2.0+
2010-08-11 12:32:53 -07:00
L. David Baron
d45401cfa4
Distinguish between 50% and calc(50%), etc., in computed style calc expressions. (Bug 585715) r=bzbarsky a2.0=blocking2.0+
2010-08-11 12:32:52 -07:00
L. David Baron
462a888804
Consolidate code for determining when widths and heights depend on a container. (Bug 585715) r=bzbarsky a2.0=blocking2.0+
2010-08-11 12:32:52 -07:00
L. David Baron
bc1a47c26f
Make a common base class for calc ops that use nsStyleCoord as input. (Bug 585715) r=bzbarsky a2.0=blocking2.0+
2010-08-11 12:32:52 -07:00
L. David Baron
5e2de175f2
There's no need for a separate CoordPercentCalc implementation; ComputeCalc can handle that. (Bug 585715) r=bzbarsky a2.0=blocking2.0+
2010-08-11 12:32:52 -07:00
L. David Baron
86686305cb
Add a 'display:block' prerequisite for 'width' property tests so that calc() tests will actually have a percentage basis and thus actually test the code. (Bug 585715) r=bzbarsky a2.0=blocking2.0+
2010-08-11 12:32:52 -07:00
L. David Baron
fe0508e3b2
Fix places where we should skip to a closing parenthesis during errors parsing functions. (Bug 575672) r=bzbarsky a2.0=blocking2.0+
2010-08-11 12:32:52 -07:00
L. David Baron
248a3cdc5f
CSS transition timing functions should not allow X arguments to cubic-bezier() outside of 0-1. (Bug 575672) r=bzbarsky a2.0=blocking2.0+
2010-08-11 12:32:52 -07:00
Dão Gottwald
8ac3be95c7
Backed out changeset 7893116d67c9
2010-08-10 15:08:00 +02:00
Ms2ger
8b328665af
Bug 562698 - Part c: Pass Elements to AttributeWillChange; r=bzbarsky, a=dbaron
2010-08-10 14:25:45 +02:00
Mark Banner
56fc2d488f
Bug 585734 Disable some c++ unit tests (TestCSSPropertyLookup, TestWinDND) in static builds due to compilation failures. r=khuey,a=test-only fix
2010-08-10 10:44:25 +01:00
Jim Mathies
a4b41e665b
Bug 574454 - Add caption buttonbox css styles. r=dbaron.
2010-08-09 20:49:34 -05:00
Jim Mathies
fc610f459e
Bug 574454 - Add window frame css styles. r=dbaron.
2010-08-09 20:49:34 -05:00
Craig Topper
8972b3e08e
Bug 585616 - Merge nsIDOMNSCSS2Properties and nsIDOMSVGCSS2Properties into nsIDOMCSS2Properties. r=bz
2010-08-05 22:32:01 -07:00
L. David Baron
06135a3d37
Fix processing of matrix() transform functions to handle calc() rather than asserting. (Bug 584569) r=bzbarsky
2010-08-05 21:59:18 -07:00
Kyle Huey
2a2801990e
Bug 578714: Stop doing Unicode-aware case-folding inside layout/style. r=zwol sr=bz
2010-08-02 15:19:04 -07:00
Zack Weinberg
40a9b87efe
Bug 581579: fix error recovery in parsing of CSS priority suffix. r+a=dbaron
2010-08-04 12:27:05 -07:00
Zack Weinberg
d32d8b4b6e
Bug 338679: mark style declarations immutable if they are stringified. r=bzbarsky a=dbaron
2010-08-02 15:40:35 -07:00
Zack Weinberg
a6b8c9b603
Bug 569719 part 16: Don't refcount declarations and data blocks; don't have style rules hold direct pointers to data blocks. r+a=dbaron
2010-07-23 11:00:52 -07:00
Zack Weinberg
b8130b3679
Bug 569719 part 15: Always copy the entire css::Declaration before changing it in any way. r=dbaron
2010-07-23 11:00:49 -07:00
Zack Weinberg
d16aea72e1
Bug 569719 part 14: replace DeclarationChanged() with SetCSSDeclaration(), which takes the new declaration as an argument. r=dbaron
2010-07-23 11:00:47 -07:00
Zack Weinberg
39c4539636
Bug 569719 part 13: move nsCSSParser methods that manipulate data blocks into the appropriate nsCSS*DataBlock classes. r=dbaron
2010-07-23 11:00:44 -07:00
Zack Weinberg
af2031e447
Bug 569719 part 12: replace nsCSSParser::ClearTempData with explicit use of mTempData.ClearProperty (and make that method handle shorthands). r=dbaron
2010-07-23 11:00:42 -07:00
Zack Weinberg
bfd2ecb93e
Bug 569719 part 11: take the fast path in ParseProperty for !important replacing !important, as well as normal replacing normal. r=dbaron
2010-07-23 11:00:39 -07:00
Zack Weinberg
604c8c3c12
Bug 569719 part 10: refactor parsing of !important and the end of a property declaration. r=dbaron
2010-07-23 11:00:37 -07:00
Zack Weinberg
6873de67ec
Bug 569719 part 9: remove return value from css::Declaration methods that always return NS_OK, and change GetCSSDeclaration to return a css::Declaration instead of an nsresult. r=dbaron
2010-07-23 11:00:34 -07:00
Zack Weinberg
b9547bdd5e
Bug 569719 part 7: Add AppendToString methods to nsCSSRect and friends as well, replacing Declaration::AppendStorageToString. r=dbaron
2010-07-23 11:00:29 -07:00
Zack Weinberg
b87b69a229
Bug 569719 part 6: Move Declaration::AppendCSSValueToString into nsCSSValue. r=dbaron
2010-07-23 11:00:27 -07:00
Zack Weinberg
a0acc46ce4
Bug 569719 part 5: in nsCSSValueList and nsCSSValuePairList, convert Equal() to operator==, and remove unnecessary argument from Clone(). r=dbaron
2010-07-23 11:00:24 -07:00
Zack Weinberg
1e5ad912e8
Bug 569719 part 4: Move nsCSSExpandedDataBlock::RuleDataPropertyAt into struct nsRuleData. r=dbaron
2010-07-23 11:00:21 -07:00
Zack Weinberg
b2480f1b17
Bug 569719 part 3: collapse nsDOMCSSDeclaration::ParseDeclaration into its sole caller (nsDOMCSSDeclaration::SetCSSText); remove always-constant flag arguments to nsCSSParser::ParseAndAppendDeclaration; rename that method to ParseDeclarations. r=dbaron
2010-07-23 11:00:19 -07:00
Robert O'Callahan
f3efde653e
Bug 537890. Part 10: Fix nsPresContext and nsIDeviceContext unit-conversion methods to be explicit about using CSS logical units instead of physical units. r=dbaron
2010-08-13 21:58:04 +12:00
Robert O'Callahan
f9627dc357
Bug 537890. Part 7: Tests for pt/pc/mm/cm/in not being physical units, and for mozmm being physical units. r=dbaron
2010-08-13 21:58:02 +12:00
Robert O'Callahan
3e8e830840
Bug 537890. Part 5: Make pc, in, mm and cm be a fixed number of CSS pixels. r=dbaron
2010-08-13 21:58:02 +12:00
Robert O'Callahan
bd0e4c32ea
Bug 537890. Part 4.5: Create 'mozmm' unit for physical millimeters on screen devices. r=dbaron
2010-08-13 21:58:02 +12:00
Robert O'Callahan
973ebcc0ad
Bug 537890. Part 4: Make points be a fixed number of CSS pixels. r=dbaron
2010-08-13 21:58:01 +12:00
Robert O'Callahan
af7fdb42ac
Bug 537890. Part 8: Define MM_PER_INCH_FLOAT. r=dbaron
2010-08-13 21:57:57 +12:00
Matt Woodrow
a580694478
Bug 505115. Use layers to render active 2D transforms. r=roc,dbaron
2010-08-02 15:07:04 +12:00
L. David Baron
c06c57f6e6
Fix bustage from bug 570329 with s/windowsWidget/winWidget/g.
2010-07-30 20:50:52 -07:00
Craig Topper
1d7405b4e7
Remove aTag argument from nsICSSPseudoComparator::PseudoMatches. (Bug 576794) r=bzbarsky a2.0=bsmedberg
2010-07-30 16:48:57 -07:00
Craig Topper
fec95b227d
Remove QueryFrame support for nsICSSPseudoComparator. (Bug 576794) r=bzbarsky a2.0=bsmedberg
2010-07-30 16:48:57 -07:00
Craig Topper
18988cb740
DeCOMtaminate nsICSSPseudoComparator::PseudoMatches method signature. (Bug 576794) r=bzbarsky a2.0=bsmedberg
2010-07-30 16:48:57 -07:00
L. David Baron
9cc2e9ec05
Switch reftest manifests to new, shorter syntax for widget toolkit tests. (Bug 570329) a2.0=tests
...
This patch was created by running the following sed commands:
s/MOZ_WIDGET_TOOLKIT=="\(gtk2\|cocoa\|qt\|windows\)"/\1Widget/g
s/MOZ_WIDGET_TOOLKIT!="\(gtk2\|cocoa\|qt\|windows\)"/!\1Widget/g
on all *.list files in the tree.
2010-07-30 16:48:57 -07:00
Kyle Huey
9c0bd4c0a5
Backed out changeset 9e87c3efc33b
2010-07-29 16:01:41 -07:00
Kyle Huey
17533df9bd
Bug 578714: Stop doing Unicode-aware case-folding inside layout/style. r=zwol sr=bz
...
--HG--
extra : rebase_source : 7d5f43bf8d7d109c9669db68589e26554df9a250
2010-07-29 12:41:04 -07:00
L. David Baron
a539512caf
Clean up messy line thanks to new operator from bug 570912. (Bug 582111) r=bzbarsky
2010-07-28 16:43:53 -07:00
L. David Baron
18dff75787
Make the transitions style rule hold on to its values and thus preserve rule immutability. Do this by reusing the code for the covering style rule for both transitions style rule types. (Bug 582111) r=bzbarsky
2010-07-28 16:43:53 -07:00
Joe Drew
e2f082fe40
Bug 572520: step 2.0, fix the visited image loading tests to poll for the images to load; just waiting for a draw isn't enough. r=dbaron
2010-07-28 14:51:37 -07:00
Ian Spence ext:(%2C%20Michael%20Monreal%20%3Cmichael.monreal%2Bmoz%40gmail.com%3E)
fefa76bb2b
Bug 412773 - Implement -moz-appearance: button-arrow-up/down/next/previous and use them in the find bar and for expander buttons. r=roc, r=dao, ui-r=faaborg
2010-07-27 16:57:47 +02:00
Boris Zbarsky
e52f354298
Bug 580685. We might not have a root element to resolve 'rem' against. r=dbaron
2010-07-22 17:33:37 -04:00
Zack Weinberg
76dbdde0f4
Bug 569719 part 2: Move headers for the former nsCSSLoader and nsCSSDeclaration into mozilla/css/. r=dbaron
...
--HG--
rename : layout/style/nsCSSDeclaration.cpp => layout/style/Declaration.cpp
rename : layout/style/nsCSSDeclaration.h => layout/style/Declaration.h
rename : layout/style/nsCSSLoader.cpp => layout/style/Loader.cpp
rename : layout/style/nsCSSLoader.h => layout/style/Loader.h
2010-06-28 15:49:35 -07:00
Zack Weinberg
9c006a4ff7
Bug 569719 part 1: Rename nsCSSDeclaration to mozilla::css::Declaration. r=dbaron
2010-06-28 15:49:35 -07:00
Craig Topper
f720fbc615
Bug 575901 - DeCOMtaminate nsIStyleRuleProcessor method signatures. r=bz
2010-07-18 23:20:40 +02:00
Craig Topper
686470fa78
Bug 575900 - Remove unneeded QIs from CSS Rule classes. r=bz
2010-07-18 22:23:12 +02:00
Craig Topper
dcd5047456
Bug 571946 - Let nsICSSRule::GetType return the type as a PRInt32 type instead of taking an outparam for that. r=bz
2010-07-18 16:39:20 +02:00
Michael Ventnor ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
d512b62fb4
Bug 566480 - Make dragging the menubar drag the window on GTK themes where that should work (and also fix GTK resize drags to initialize drag better). r=karlt,dbaron,enn,dao
2010-07-17 10:11:54 +02:00
L. David Baron
b2810df4d9
Append style sheets from binding manager when ensuring unique inner on all sheets. (Bug 578810) r=bzbarsky
2010-07-16 22:36:34 -07:00
L. David Baron
cb0b167ba1
Fix typo in comment as followup from bug 531344.
2010-07-16 22:36:34 -07:00
Robert O'Callahan
1917c1d836
Bug 564991. Part 13: Optimize invalidation to avoid repainting ThebesLayer contents sometimes. r=mats,sr=dbaron
2010-07-16 09:07:53 +12:00
timeless@mozdev.org
792133b46f
Bug 577993 mark debug code in InsertFontFaceRule and nsStyleAnimation::ComputeDistance
...
r=dbaron
--HG--
extra : rebase_source : a8b1ed0732f8f06a192dbcc485dffe0bb10d4a50
2010-07-15 15:55:05 +03:00
Zack Weinberg
63f91528d4
Bug 558235 part 2: Kill CSS2PropertiesTearoff. r=dbaron
2010-07-14 13:58:56 -07:00
Zack Weinberg
c764d1c2d2
Bug 558235 part 1: Mechanically rename nsComputedDOMStyle::Get* to nsComputedDomStyle::DoGet* where the former name conflicts with a nsIDOM*CSS2Properties method name. r=dbaron
2010-07-14 13:58:55 -07:00
Ehsan Akhgari
0ad20714f9
Bug 289384 - Midas Editor: Shortcut command + left/right should go to beginning/end of line; r=masayuki,bzbarsky
2010-07-11 17:48:46 -04:00
Jonathan Kew
1341e3f276
bug 511339 - part 1 - implement -moz-font-feature-settings and -moz-font-language-override in CSS. r=dbaron
2010-07-13 21:30:42 +01:00
Ehsan Akhgari
7dcf9d424a
Backout bug 289384 because of crashtest assertion failures
2010-07-11 17:43:27 -04:00
Ehsan Akhgari
d288e15ecd
Bug 289384 - Midas Editor: Shortcut command + left/right should go to beginning/end of line; r=masayuki,bzbarsky
...
--HG--
extra : rebase_source : d533ad700d2e3e5d50dc0f03b57b14723e12c7eb
2010-06-25 14:58:25 -04:00
Boris Zbarsky
3e52abcca0
Bug 575467. Improve the detection of whether we're in the transition's initial state. r=dbaron
2010-07-08 09:50:33 -07:00
Boris Zbarsky
cbd4058563
Bug 576658. Simplify AppendRuleToTagTable. r=dbaron
2010-07-08 09:50:18 -07:00
Neil Deakin
2fb7701cbe
Bug 553576, change -moz-resize to resize, r=dbaron
2010-07-05 10:41:04 -04:00
L. David Baron
ceb7e65f43
Make nsStyleAnimation::ComputeDistance not crash when given -moz-transform: none. (Bug 576761) (pending review)
...
--HG--
extra : transplant_source : _hY%B1%23%2Cb%D2%19R%BB%24%A4%9C%1B%16R%5C%8Ee
2010-07-03 12:25:37 -07:00
L. David Baron
f5249f9108
Implement animation of -moz-transform property. (Bug 531344) r=dholbert
2010-07-02 21:18:56 -07:00
L. David Baron
6876cdaeaa
Move ReadTransforms from nsRuleNode to nsStyleTransformMatrix. (Bug 531344) r=dholbert
2010-07-02 21:18:56 -07:00
L. David Baron
dde6ec680a
Add support for calc() expressions in translate functions of -moz-transform. (Bug 531344) r=bzbarsky
2010-07-02 21:18:56 -07:00
L. David Baron
3c320ac9da
Fix weird SetCoordToValue signature. (Bug 531344) r=dholbert
2010-07-02 21:18:56 -07:00
L. David Baron
3854183740
Allow CSS parser to forbid min()/max() within certain calc() expressions. (Bug 531344) r=bzbarsky
2010-07-02 21:18:56 -07:00
L. David Baron
1130c43906
Create a common function for setting pieces of a transform matrix for a translation. (Bug 531344) r=dholbert
2010-07-02 21:18:56 -07:00
L. David Baron
cec126b618
Add some helper functions for common CSS value to CSS value interpolations. (Bug 531344) r=dholbert
2010-07-02 21:18:56 -07:00
L. David Baron
8e80eed347
Make the style struct store the specified transform list so that we can animate matching lists without matrix decomposition. (Bug 531344) r=dholbert
2010-07-02 21:18:56 -07:00
L. David Baron
60a8a56e92
Handle computed-value calc() expressions in computed style. (Bug 363249) r=bzbarsky
2010-07-02 21:18:56 -07:00
L. David Baron
60dfb4ddf1
Convert calc() serialization code to a template so it can also be used for nsStyleCoord. (Bug 363249) r=bzbarsky
2010-07-02 21:18:55 -07:00
L. David Baron
dd9be1dd41
Add API to compute length, percentage or calc() style coords. (Bug 363249) r=bzbarsky
2010-07-02 21:18:55 -07:00
L. David Baron
e3ff14ef8b
Add API to compute computed-value calc() expressions to lengths. (Bug 363249) r=bzbarsky
2010-07-02 21:18:55 -07:00
L. David Baron
fbac3bf4e7
Add additional template parameter expectations to ComputeCalc so that its input can be nsCSSValue or nsStyleCoord. (Bug 363249) r=bzbarsky
2010-07-02 21:18:55 -07:00
L. David Baron
a4378282b6
Add code to compute a computed-value calc() expression from a specified-value calc() expression, and make it reachable from SetCoord in nsRuleNode. (Bug 363249) r=bzbarsky
2010-07-02 21:18:55 -07:00
L. David Baron
cb0428ad49
Switch calc() to saturating operations on nscoord. (Bug 363249) r=bzbarsky
2010-07-02 21:18:55 -07:00
L. David Baron
e218c29644
Fix namespace usage in nsRuleNode. (Bug 363249) r=bzbarsky
2010-07-02 21:18:55 -07:00
L. David Baron
8d8f88a01a
Add storage for calc() expressions to nsStyleCoord. (Bug 363249) r=bzbarsky
2010-07-02 21:18:55 -07:00
L. David Baron
be6f3354a9
Add nsStyleCoord::Array type. (Bug 363249) r=bzbarsky
2010-07-02 21:18:55 -07:00
L. David Baron
f66de32fe0
Add nsStyleContext::Alloc for allocations scoped to the lifetime of the style context. (Bug 363249) r=bzbarsky
2010-07-02 21:18:55 -07:00
L. David Baron
5c276249e4
Fire transitionend events only for transitions on elements (not pseudo-elements). (Bug 537140) r=bzbarsky
2010-07-02 21:18:55 -07:00
Boris Zbarsky
cde3075e01
Bug 576136. Use arrays of rulevalues, not linked lists, for slightly better cache locality. r=dbaron
2010-07-02 16:56:09 -04:00
Jesse Ruderman
14ecbf3e68
Add bug numbers for all remaining asserts() annotations in crashtests and reftests
2010-07-01 19:33:56 -07:00
Benjamin Smedberg
4d172dd53d
Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691.
2010-07-01 11:55:57 -04:00
Benjamin Smedberg
a2833452f8
Merge mozilla-central to the bug 568691 branch.
...
--HG--
rename : gfx/public/nsITheme.h => gfx/src/nsITheme.h
2010-06-30 14:23:23 -04:00
Benjamin Smedberg
63c0077443
Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module.
2010-06-25 19:41:09 -04:00
Daniel Holbert
ed05c57d55
Bug 574750: Use size_t for counter, in loops over contents of an nsCSSValue::Array. r=bz
2010-06-25 12:38:57 -07:00
Benjamin Smedberg
762def30bb
Merge mozilla-central into the static-xpcom-registration branch.
2010-06-23 17:26:25 -04:00
Ms2ger
27a3b29543
Implement the figure element. r=jst+timeless+ehsan (Bug 573356)
2010-06-23 10:08:56 -07:00
Ivan Enderlin ext:(%2C%20Mounir%20Lamouri%20%3Cmounir.lamouri%40gmail.com%3E%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
4164b0645e
Implement the mark element. r=jonas+timeless (Bug 485377)
2010-06-23 10:08:56 -07:00
Benjamin Smedberg
6b0b22699b
Bug 573739 - Don't get the private browing service during layout module initialization: delay until profile-after-change.
2010-06-22 12:59:57 -04:00
Boris Zbarsky
8e8e4c48e0
Adding bug 573127 test
2010-06-23 01:43:17 -04:00
Boris Zbarsky
7f14719c4d
Bug 573241. When reparenting a style context, don't include any transition rules the old context might have had in the new one, since that can confuse transitions. r=dbaron
2010-06-23 00:46:27 -04:00
L. David Baron
63c334d06c
Switch test_transitions_per_property to testing interpolation 1/4 of the way through instead of 1/2, so it will catch getting the halves backwards.
2010-06-26 11:58:06 -07:00
L. David Baron
0406e75bdd
Adjust comment as followup to bug 574059.
2010-06-26 11:58:06 -07:00
Boris Zbarsky
b8fb52d415
Bug 555627. Make transitions actually work correctly on :before and :after. r=dbaron
2010-06-30 18:54:29 -07:00
Boris Zbarsky
81a1582c9b
Bug 571347. In HasAttributeDependentStyle when the class attribute is changing, walk only selectors with classes that might be relevant. r=dbaron
2010-06-18 12:23:05 -04:00
L. David Baron
6c86828ec0
Add test for bug 573255.
...
--HG--
extra : transplant_source : Y%E3o%C5%F1H8t%AF%3E%1Cu%5B%EA%E0%2B%27%08%EA%C2
2010-06-19 14:11:20 -07:00
L. David Baron
d9f82cf345
Backed out changeset a6e3300a3bac (bug 571347) for causing bug 573255 because the optimization is invalid given :not() selectors.
2010-06-19 14:16:38 -07:00
Boris Zbarsky
ac7a53b8a2
Bug 571347. In HasAttributeDependentStyle when the class attribute is changing, walk only selectors with classes that might be relevant. r=dbaron
2010-06-18 12:23:05 -04:00
Boris Zbarsky
2e0c510982
Bug 569006. Skip probing for ::before/::after during reresolve if we're not redoing matching on kids, since those can't appear/disappear without either a reframe or a change in what selectors we match. r=dbaron
2010-06-18 12:23:05 -04:00
Boris Zbarsky
e81230c9bb
Bug 494117 part 2. Don't force selector matching on the whole subtree rooted at an element when the element's style changes. r=dbaron
2010-06-18 12:23:05 -04:00
Boris Zbarsky
37c6532fe1
Bug 494117 part 1. Rename eRestyle_Self to eRestyle_Subtree. r=dbaron
2010-06-18 12:23:05 -04:00
Jesse Ruderman
f04ef428cb
Remove stray line breaks from NS_ERROR messages, since they interfere with log processing. rs=jst
...
--HG--
extra : rebase_source : 87421691da969e0ebe5fbfbc44cd8f18617d1351
2010-06-17 13:28:38 -07:00
Jesse Ruderman
fb054fc73e
Add some crashtests and reftests
...
--HG--
extra : rebase_source : a167ccf140387fa50e3668422b5a74bea0527255
2010-06-17 13:21:24 -07:00
Boris Zbarsky
8b6e50ff8c
Bug 571105. Don't force creation of an if-visited style contest if we don't actually need one. r=dbaron
2010-06-14 16:06:48 -04:00
Justin Wood
7eb105907c
Bug 568733 - patch for mobile specific browser-chrome tests breaks seamonkey. r=ted
...
pending-feedback=jmaher
Also RE-enables browser-mochitests for docshell.
2010-06-09 19:29:44 -04:00
L. David Baron
a4220ff996
Fix alphabetization of renamed properties in property_database.js. (Bug 549809)
2010-06-08 18:44:33 -07:00
L. David Baron
9a129faa59
Rename -moz-background-size to background-size. (Bug 549809) r=roc
2010-06-08 18:44:33 -07:00
L. David Baron
dde8361307
Support for background-clip and background-origin in the background shorthand. (Bug 549809) r=roc
2010-06-08 18:44:33 -07:00
L. David Baron
934c377eda
Rename properties and values of background-clip and background-origin to match css3-background. (Bug 549809) r=roc
2010-06-08 18:44:33 -07:00
L. David Baron
4547409e45
Remove comments referencing no-longer-existing no-clip value for background-clip. (Bug 549809)
2010-06-08 18:44:32 -07:00
L. David Baron
308b0473d7
Add -moz-background-clip: content. (Bug 549809) r=roc
2010-06-08 18:44:32 -07:00
Boris Zbarsky
6e35d9ce4f
Bug 558943. Pass the right value for aIsLink from ReparentStyleContext. r=dbaron
2010-06-08 15:58:26 -04:00
Robert Sayre
5ca2a43d0d
Merge tracemonkey to mozilla-central.
2010-06-06 14:55:52 -04:00
Mounir Lamouri
51117776b3
Bug 569337 - Fix compilation issues when SVG and SMIL are disabled. r=dbaron
2010-06-06 19:45:18 +02:00
Robert Sayre
09e6a02419
Merge mozilla-central to tracemonkey.
2010-06-06 11:28:04 -04:00
Robert Sayre
d9e86770e3
Merge mozilla-central to tracemonkey.
2010-06-05 19:13:45 -04:00
Jason Orendorff
d7cbea1f4d
Bug 533592, part 1 - Remove uses of and support for xpcnativewrappers=no/yes in manifests. (The default has been yes for some time and we will now only have that behavior.) r=mrbkap.
...
--HG--
extra : rebase_source : 996d2abecb15f44293abd470a28a3fe2706e130e
2010-05-27 12:33:54 -07:00
John Daggett
060fa41f99
Bug 555406. Call checkLoadURI for INHERIT_PRINCIPAL font loads. r=bz
2010-05-24 15:45:18 +09:00
Ehsan Akhgari
f58add9d96
Bug 336104 - "ASSERTION: no frame, see bug #188946 "; r=roc,dbaron
2010-05-21 16:36:42 -04:00
Jason Duell
84b443f1c0
# User Michal Novotny <michal.novotny@gmail.com>
...
# Date 1272456176 -7200
Bug 549241 - Channel classifier should run in chrome process. r=biesi, sr=jst
2010-05-21 14:03:02 -07:00
Ehsan Akhgari
a87b134220
Bug 560647 - add startup timeline instrumentation; r=vlad
2010-05-19 19:22:19 -04:00
Craig Topper
00d9a2b835
Bug 566808 - "DeCOMtaminate nsIStyleRule method signatures" [r=dbaron]
...
(transplanted from 9a7be1835b530c72a46069a5c3951b80b16804a3)
--HG--
extra : transplant_source : %9A%7B%E1%83%5BS%0Cr%A4%60i%A5%C3%95%1B%80%B1h%04%A3
2010-05-19 22:28:00 -04:00
Craig Topper
3e0e604d67
Convert some callers of methods that changed from returning already_AddRefed<T> to returning T* away from using unneeded nsCOMPtrs. (Bug 239008) r=dbaron
2010-05-17 21:00:40 -07:00
Craig Topper
58622d8961
Change some nsIStyleSheet methods from returning AddRef-ed to un-AddRef-ed pointers, and some other cleanup. (Bug 239008) r=dbaron
2010-05-17 21:00:39 -07:00
L. David Baron
ade6177e17
Make the 'noappend' selector optimizations only restyle later siblings, which is what they need to do. (Bug 534804) r=bzbarsky
2010-05-14 22:01:46 -07:00
L. David Baron
a464130609
Additional restyling is needed for :empty + E and :empty ~ E selectors. (Bug 534804) r=bzbarsky
2010-05-14 22:01:45 -07:00
Craig Topper
9528e9a5c6
Rename nsIStyleSheet::GetApplicable to IsApplicable and GetComplete to IsComplete. (Bug 239008) r=dbaron
2010-05-14 12:05:14 -07:00
Boris Zbarsky
f5243e5ab2
Bug 565818. Pass Elements to HasAttributeDependentStyle and HasStateDependentStyle. r=dbaron
2010-05-14 13:04:51 -04:00
Boris Zbarsky
f52ee1468f
Bug 565815. Use Element in the transition manager instead of nsIContent. r=dbaron
2010-05-14 13:04:51 -04:00
Boris Zbarsky
7ef058e29f
Bug 565809. Move checking for style attribute changes into the cascade level. r=dbaron
2010-05-14 13:04:51 -04:00
Mitchell Field
6ad77bd6db
Bug 564950 - Make more use of mozilla::services, r=surkov, jst, neil, smontagu, roc, joshmoz, gavin, shaver
2010-05-14 18:24:41 +09:00
L. David Baron
181bd73392
Add appropriate styles for the effects of HTML5 sectioning elements on headers. (Bug 562835) r=bzbarsky
2010-05-13 19:36:48 -07:00
L. David Baron
55ff47de79
Avoid wrapping to negative font sizes. (Bug 565248) r=roc
2010-05-13 19:36:48 -07:00
Craig Topper
d02574b6b4
DeCOMtaminate nsIStyleSheet method signatures. (Bug 239008) r=dbaron
2010-05-12 13:18:47 -07:00
Ehsan Akhgari
1058eae992
Bug 528686 - xf:select doesn't work if contenteditable element is presented within the document; r=dbaron
2010-05-06 20:33:31 -04:00
L. David Baron
7a1b0dad9f
Restore comments and formatting from nsICSSStyleSheet.h that was lost in 5329c2d9c968. (Bug 239008)
2010-05-11 13:59:25 -07:00
Craig Topper
b241293325
Make most of the methods in nsCSSStyleSheet non-virtual. (Bug 239008) r=dbaron
2010-05-11 13:41:48 -07:00
Craig Topper
35e0c06e8d
Inline a few methods in nsCSSStyleSheet. (Bug 239008) r=dbaron
2010-05-11 13:41:47 -07:00
Craig Topper
cb8187eff9
Remove nsICSSStyleSheet and replace all uses with nsCSSStyleSheet. (Bug 239008) r=dbaron
2010-05-11 13:41:47 -07:00
Craig Topper
da6721cdc6
DeCOMtaminate CSSStyleSheet method signatures. (Bug 239008) r=dbaron
2010-05-11 13:41:47 -07:00
Peter Van der Beken
7f4e72d2de
Back out fixes for bug 560462 to fix orange.
...
--HG--
extra : rebase_source : afe96ede6fc605c656b746f6388d6144886b18ed
2010-05-11 19:20:03 +02:00
L. David Baron
85e2b41165
Instantiate the calc ops struct rather than a nested data struct inside of it. (Bug 363249) r=bzbarsky
2010-05-11 08:49:44 -07:00
L. David Baron
0d2dad97cf
Get rid of (void) C-isms in nsStyleCoord. (Bug 363249) r=bzbarsky
2010-05-11 08:49:44 -07:00
L. David Baron
0f80044b20
Add calc() support for 'font-size' property, which is the only property for which percents are computed to lengths in nsRuleNode. (Bug 363249) r=bzbarsky
2010-05-11 08:49:44 -07:00
L. David Baron
88044130de
Add calc() support for lengths in text-shadow and -moz-box-shadow. (Bug 363249) r=bzbarsky
2010-05-11 08:49:43 -07:00
L. David Baron
7af761111d
Add calc() support for the easiest cases: properties that take lengths but not percentages and take simple values only (-moz-column-rule-width, -moz-column-width, letter-spacing, word-spacing, marker-offset, outline-offset, border-spacing). (Bug 363249) r=bzbarsky
2010-05-11 08:49:43 -07:00
L. David Baron
669adf681d
Fix property alphabetization errors in property_database.js.
2010-05-11 08:49:43 -07:00
L. David Baron
792ee1ad5e
Add mechanism for clamping computation of calc() to nonnegative values. (Bug 363249) r=bzbarsky
2010-05-11 08:49:43 -07:00
L. David Baron
1565f966fc
Add mechanism for computation of calc() in the cases where the arguments are only lengths (i.e., where computed style can contain a simple result rather than a calc tree). (Bug 363249) r=bzbarsky
2010-05-11 08:49:43 -07:00
L. David Baron
f52b80093d
Implement serialization of calc() values. (Bug 363249) r=bzbarsky
2010-05-11 08:49:43 -07:00
L. David Baron
3981df643f
Implement parsing of calc(). (Bug 363249) r=bzbarsky
2010-05-11 08:49:43 -07:00
L. David Baron
dac0ebf024
Add template-based mechanism for computing a calc() tree. (Bug 363249) r=bzbarsky
2010-05-11 08:49:43 -07:00
L. David Baron
569d038ee5
Implement storage of calc() expressions in nsCSSValue. (Bug 363249) r=bzbarsky
2010-05-11 08:49:43 -07:00
Peter Van der Beken
f9b24fc187
Fix for bug 560462 (Use fast unwrapping for more quickstubs) - use fast unwrapping for nsIDOMNode_GetNodeType, nsIDOMNodeList_GetLength, nsIDOMElement, nsIDOMNSElement_, nsIDOMNSHTMLElement, nsIDOMDocument, nsIDOMNSDocument, nsIDOM3Document, nsIDOMHTMLDocument and nsIDOMNSHTMLDocument_. r=jst.
2010-04-19 17:41:39 +02:00
L. David Baron
7c61f15cf1
Annotate remainder of crashtest mainfests (all but one test) with the tests that are known to assert. (Bug 472557)
2010-05-06 09:28:01 -07:00
Boris Zbarsky
f7d7c95ec6
Bug 562971. Include Element.h as mozilla/dom/Element.h and don't use 'using namespace' quite as much. r=jst
2010-05-05 14:18:05 -04:00
Ms2ger@gmail.com
a4005e2fd1
Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug
2010-06-25 15:59:57 +02:00
L. David Baron
cfa59de4bb
Don't bother with 16-bit reference count and index in nsCSSValue::Array. (Bug 574059) r=bzbarsky
2010-06-24 14:53:44 -07:00
Boris Zbarsky
b3de40cc58
Bug 562688 part 14. Eliminate eELEMENT usage in the rule processor; switch to Element as we can. r=dbaron
2010-04-30 09:12:06 -04:00
Boris Zbarsky
ca01cf3893
Bug 562688 part 13. Eliminate eELEMENT usage in layout/style, except the rule processor. r=dbaron
2010-04-30 09:12:06 -04:00
Boris Zbarsky
04027a9479
Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking
2010-04-30 09:12:05 -04:00
Timothy Nikkel
19b8662309
Bug 559491. If a visited style context has no parent then add it to the list of roots. r=dbaron
2010-04-29 20:15:44 -05:00
Mitchell Field
9818f00bf2
Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov
2010-04-29 18:59:13 +02:00
Henri Sivonen
21b290df61
Make test_acid3_test46.html wait for onload. (orange fix)
2010-04-28 16:21:07 +03:00
timeless
83499da47b
Bug 334571 Coverity 702, NS_SIDES array limit check - replace NS_FOR_CSS_SIDES defines with enum. r=zwol,mats
2010-04-27 18:15:02 +02:00
timeless
97c43a3297
Bug 334571 strip trailing whitespace. r=zwol
2010-04-27 18:15:01 +02:00
Boris Zbarsky
f045d1595d
Bug 559284. Make various HTML5 sectioning elements display:block. r=dbaron
2010-04-26 16:27:01 -04:00
Boris Zbarsky
6f37056bbf
Bug 561516. Switch from an array of function pointers to a switch to make it easier to modify this code in the future. r=dbaron
2010-04-26 16:27:01 -04:00
timeless@mozdev.org
3fda10b039
Bug 555702 - nsCSSExpandedDataBlock::DoExpand null checks aBlock instead of *aBlock, r=dbaron
...
--HG--
extra : rebase_source : a1d1ab6b36f02edbafa36e743ec846f69b84da66
2010-03-29 06:43:00 -07:00
L. David Baron
3bf47e289d
Make the test not fail when the transition has completed already but the event hasn't fired yet. (Bug 537573) a=philor for APPROVAL REQUIRED
2010-04-23 19:59:48 -07:00
L. David Baron
36e1c5464c
Make some selectors in html.css faster using :-moz-any(). (Bug 544834) r=bzbarsky
2010-04-23 19:59:47 -07:00
L. David Baron
a681499b7e
Implement :-moz-any() selector to allow simplification of user-agent style sheets. (Bug 544834) r=bzbarsky
2010-04-23 19:59:47 -07:00
L. David Baron
fa91f902a2
Make test_selectors continue when a parsing test fails.
2010-04-23 19:59:47 -07:00
L. David Baron
a079319f37
Clean up SkipUntil handling in parsing of pseudo-classes with arguments. (I haven't found any cases where this actually changes behavior, but it's needed for the next patch.) (Bug 544834) r=bzbarsky
2010-04-23 19:59:47 -07:00
Brandon Sterne
033faf2fac
Bug 561449 - checking in forgotten style portion of CSP redirect patch, r=jst, a=dholbert_sheriff
2010-04-23 15:05:32 -07:00
Zack Weinberg
38da8da304
Bug 559715: Micro-optimize nsCSSPropertySet by adjusting types so that the compiler can do index calculations more efficiently., r=dbaron, a=dholbert_sheriff
2010-04-23 12:59:15 -07:00
Brandon Sterne
40ead69f99
Bug 515460 - enforce CSP during @font-face redirects, r=jdaggett, a=dholbert_sheriff
2010-04-23 12:53:41 -07:00
Neil Deakin
ceb1712f98
Bug 418521, improve the way focus indicators are displayed to correlate better with system behaviour, add -moz-focusring property to apply only when focus rings should be drawn, r=dao,jmathies,dbaron sr=neil
2010-04-21 10:53:42 -04:00
Henri Sivonen
3d360f358f
Bug 452915 - Remove default border from linked images per HTML5. r=dbaron.
...
--HG--
extra : rebase_source : 10b90a485cffe44c01493d4469eec2204724e2ce
2010-02-02 09:43:18 +02:00
Craig Topper
771eede254
Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc
2010-04-10 16:10:12 -04:00
Craig Topper
9eccdbd4d7
Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc
2010-04-10 16:09:38 -04:00
L. David Baron
3b67d5db4a
Make the reset test in test_transitions.html deal with the possibility of massive skew between setTimeout and the clock. (Bug 539904)
2010-04-07 12:06:15 -07:00
Ehsan Akhgari
597523deaa
Merge backout of bug 553124
2010-04-07 13:29:28 -04:00
Ehsan Akhgari
3313f2610b
Backed out changeset 9786ae3984b3 (bug 553124) because of potential privacy risks
2010-04-07 13:29:10 -04:00
Ehsan Akhgari
f11e5f3370
Bug 553124 - After bug 147777 lands, private browsing doesn't need to disable coloring of visited links any more; r=sdwilsh,bzbarsky
...
--HG--
extra : rebase_source : 7aff54b4357ca411278e906ecd022adfd1bb09cc
2010-04-06 13:47:42 -04:00
L. David Baron
430750684a
Add test for background image loading behavior for :visited links. (Bug 557287)
2010-04-06 12:42:41 -07:00
L. David Baron
7880213876
Don't start image loads for the if-visited style contexts. (Bug 557287) r=bzbarsky
2010-04-06 12:42:41 -07:00
L. David Baron
1e8873bdf4
Make style contexts know if they are the if-visited style. (Bug 557287) r=bzbarsky
2010-04-06 12:42:41 -07:00
L. David Baron
df8e44cdd9
When setTimeout fires much later than it should, which happens on unit test boxes a good bit, make test_transitions_events.html report a todo rather than a fail. (Bug 537573)
2010-04-06 22:50:06 -07:00
L. David Baron
9dc08b1cf0
Use the appropriate color based on visitedness for '-moz-column-rule-color'. (Bug 557580) r=roc
2010-04-06 19:03:12 -07:00
L. David Baron
d923cbe90a
Make nsStyleAnimation extract -moz-column-rule-color correctly. (Bug 557580) r=dholbert
2010-04-06 19:03:12 -07:00
Zack Weinberg
3fc693ef33
Bug 556661 bustage fix: test_priority_preservation.html updated to new semantics, augmented with further tests
2010-04-06 17:55:57 -07:00
Zack Weinberg
2ec3bc6f42
Bug 556661: make nsDOMCSSDeclaration::SetProperty capable of removing !important. r=dbaron
2010-04-06 15:52:02 -07:00
L. David Baron
1a2961ba01
Avoid showing black when the if-visited style is transparent and the unvisited style is a color. (Bug 557584) r=bzbarsky
2010-04-06 15:32:52 -07:00
Zack Weinberg
8a88b3f08f
Eliminate NS_HIDDEN and NS_HIDDEN_ from layout/style/. Search-and-replace plus formatting fixes. rs=bzbarsky, no bug.
2010-04-06 14:52:17 -07:00
Peter Van der Beken
8e3acb1006
Fix for bug 533637 (Speed up unwrapping a node in quickstubs that use nsINode (dromaeo)). Pair every DOMCI to a specific C++ class. r=jst.
...
--HG--
extra : rebase_source : 9a7823b365cfca04bb08c5be94eab29d218f1e61
2010-01-12 14:08:43 +01:00
Ehren Metcalfe
e0ac5d5547
Bug 556446: Remove dead code in layout. r=roc,bz
2010-04-03 07:36:19 -04:00
L. David Baron
9b9ef4a6b9
Make pseudo-classes-02 run using test_visited_reftests.html instead of the normal reftest harness. (Bug 147777) r=jwatt
2010-04-02 18:58:27 -07:00
L. David Baron
1141b26829
Add mochitests for getComputedStyle and querySelector(All) lying about :visited selectors. (Bug 147777)
2010-04-02 18:58:27 -07:00
L. David Baron
d93ae3417f
Add reftests for :visited handling in layout/reftests/css-visited/ and make them run through the mochitest harness (via layout/style/test/test_visited_reftests.html) rather than the reftest harness. (Bug 147777)
2010-04-02 18:58:27 -07:00
L. David Baron
f094fceed0
Add method to munge the content state appropriately for how we're matching so that matching operations in HTML and CSS style sheets follow the new rules. (Bug 147777) r=bzbarsky
2010-04-02 18:58:27 -07:00
L. David Baron
6d9693bbd2
Put visited handling in the tree match context. (Bug 147777) r=bzbarsky
2010-04-02 18:58:27 -07:00
L. David Baron
562295a495
Set NS_STYLE_RELEVANT_LINK_IS_VISITED when appropriate. (Bug 147777) r=bzbarsky
2010-04-02 18:58:27 -07:00
L. David Baron
2f9c329ba6
Propagate whether we have a relevant link from rule processors to style set. (Bug 147777) r=bzbarsky
2010-04-02 18:58:27 -07:00
L. David Baron
d1f6c99d69
Pass through desired link-visitedness on the rule walker and construct if-visited style contexts in the style set when visited styles are present. (Bug 147777) r=bzbarsky
2010-04-02 18:58:27 -07:00
L. David Baron
a0fa66317b
Fix initialization comment in nsRuleProcessorData. (Bug 147777) r=sdwilsh
2010-04-02 18:58:26 -07:00
L. David Baron
7716822c2c
Make nsStyleContext::FindChildWithRules deal with the visited style context. (Bug 147777) r=bzbarsky
2010-04-02 18:58:26 -07:00
L. David Baron
e280ee7267
Propagate whether we have a relevant link out of selector matching. (Bug 147777) r=bzbarsky
2010-04-02 18:58:26 -07:00
L. David Baron
ae7431d3fc
Introduce NodeMatchContext for additional input into SelectorMatches. (Bug 147777) r=bzbarsky
2010-04-02 18:58:26 -07:00
L. David Baron
1954ac4824
Introduce TreeMatchContext for additional output from SelectorMatchesTree. (Bug 147777) r=bzbarsky
2010-04-02 18:58:26 -07:00
L. David Baron
f64f440371
Use the appropriate color based on visitedness for the color or fallback color parts of 'fill' and 'stroke'. (Bug 147777) r=jwatt
2010-04-02 18:58:26 -07:00
L. David Baron
0b57ef51cd
Use the appropriate color based on visitedness for 'outline-color'. (Bug 147777) r=zweinberg
2010-04-02 18:58:26 -07:00
L. David Baron
cb0d8954c9
Prerequisite comments for using the appropriate color for border colors. (Bug 147777) r=zweinberg
2010-04-02 18:58:26 -07:00
L. David Baron
c6cfc1d0a4
Fix existing tests to deal with getComputedStyle lying about :link vs. :visited. (Bug 147777) r=sdwilsh
2010-04-02 18:58:25 -07:00
L. David Baron
0703626682
Add nsIDOMWindowUtils::getVisitedDependentComputedStyle for use in tests. (Bug 147777) r=bzbarsky
2010-04-02 18:58:25 -07:00
L. David Baron
961c31082c
Add function to nsStyleUtil for choosing the appropriate color from style data based on link visitedness. (Bug 147777) r=bzbarsky
2010-04-02 18:58:25 -07:00
L. David Baron
4f2f50bd5a
Add mechanism for separate style data for visited style. (Bug 147777) r=bzbarsky
2010-04-02 18:58:25 -07:00
L. David Baron
3eacc25287
Split nsStyleSet::ResolveStyleForRules into two different APIs for the two different types of uses. (Bug 147777) r=bzbarsky
2010-04-02 18:58:25 -07:00
Daniel Holbert
84c8cc58ba
Bug 556404: Put CSS parser in SVG mode when parsing SMIL animation endpoints for XML attributes. r=roc r=dbaron
2010-04-02 09:34:31 -07:00
Zack Weinberg
54ad0fb73a
Bug 494117: Mechanically change 'ReParent' to 'Reparent' throughout the tree. r=bzbarsky
2010-04-01 23:07:43 -07:00
Zack Weinberg
7186dd3ecb
Bug 494117: remove PresContext argument to nsStyleSet::GetContext. r=bzbarsky
2010-04-01 23:07:42 -07:00
Mats Palmgren
57a4d3a783
Bug 383488: don't accept trailing tokens in 'value' in style.setProperty(prop,value,"important"). r=dbaron
2010-04-01 23:07:40 -07:00
Boris Zbarsky
fc92cdabc8
Bug 509569. Avoid assertion by not storing structs with unused inherit logical box props in them, even though it would be ok to do so. r=dbaron
2010-04-01 22:09:05 -04:00
Daniel Holbert
55760b9bc8
Bug 551298, patch C bustage-followup: Use fully qualified class name when logging AddRefs names to prevent name-collision in bloat hash map.
2010-04-01 11:05:40 -07:00
Daniel Holbert
aa26889b7f
Bug 551298, patch C: Use NS_INLINE_DECL_REFCOUNTING in /layout/ directory. r=roc
2010-04-01 11:05:40 -07:00
Daniel Holbert
17d9b970b2
Backed out changeset afcaf3670c21 (Bug 551298) due to Linux debug mochitest-5 orange
2010-04-01 09:37:59 -07:00
Daniel Holbert
83bf8f3bd3
Bug 551298, patch C: Use NS_INLINE_DECL_REFCOUNTING in /layout/ directory. r=roc
2010-04-01 08:08:51 -07:00
Zack Weinberg
ee4e0f1e56
Bug 494117 preliminary refactor: Search-and-replace 'ReStyle' with 'Restyle' throughout layout. r=roc
2010-03-31 17:43:32 -07:00
Zack Weinberg
fc83353867
Bug 508466 part 3: remove eSelectorParsingStatus_Empty. r=dbaron
2010-03-31 11:08:11 -07:00
Zack Weinberg
bd2acbcf31
Bug 508466 part 2: In a CSS selector group, use distinct mOperator codes for the descendant combinator (' ') and the end of the chain ('\0'). r=dbaron
2010-03-31 11:08:09 -07:00
Zack Weinberg
8ad7ae46d4
Bug 508466 part 1: Refactor nsCSSParser::ParseSelector and nsCSSParser::ParseSelectorGroup for clarity. r=dbaron
2010-03-31 11:08:08 -07:00
Craig Topper
c3fc5fa456
Bug 554253 - Convert nsCOMPtr<nsPresContext> to nsRefPtr<nsPresContext>. r=roc
...
--HG--
extra : rebase_source : d828daca07188864d055f3d1a72f5217632eb358
2010-03-25 14:17:11 +01:00
Markus Stange
b5b991d41d
Bug 554061 - Also check XBL stylesheets when determining whether a restyle is necessary when document state changes. r=dbaron
2010-03-25 10:22:58 +01:00
Neil Deakin
613aeb8685
Bug 553760, two resizers appear in textarea, hide the one for the placeholder scrollframe, r=dbaron
2010-03-23 13:14:47 -04:00
Daniel Glazman
15d5eeac70
:not() selector with no argument should be a parse error. (Bug 553805) r=dbaron
...
--HG--
extra : transplant_source : J%23a%3C%1EQ%13%F5%DBx%8E%83%A8%09%3A%E1%93t%AF%D2
2010-03-21 15:25:18 -04:00
Markus Stange
5fb3e948bb
Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst
2010-03-17 18:10:57 +01:00
Neil Deakin
79c932638a
Bug 442228, support resizers in scrollable areas and enable them by default for textareas, r=roc,sr=dbaron
2010-03-19 07:49:34 -04:00
Neil Deakin
4f0034acef
Bug 442228, add -moz-resize property to indicate that elements are resizable, r=dbaron
2010-03-19 07:49:33 -04:00
Peter Van der Beken
e5d87ec5bb
Fix for bug 552716 (Remove NS_INTERFACE_MAP_ENTRY_CONTENT_CLASSINFO). r=jst.
...
--HG--
extra : rebase_source : 8e03b54ff6117dcac27188b296c59dcafbb6db78
2010-03-17 16:09:05 +01:00
Markus Stange
4a997d3554
Backed out changeset e17c076aceea, bug 508482 (:-moz-window-inactive pseudoclass) because of test_righttoleft.xul test failures.
2010-03-17 20:03:53 +01:00
Markus Stange
f1f3037861
Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst
2010-03-17 18:10:57 +01:00
L. David Baron
a5db8c1ba4
Remove code that was a remnant of the old storage for transition-property. (Bug 550497) r=bzbarsky
2010-03-16 16:04:21 -07:00
L. David Baron
cd9171b59e
Add additional diagnostic output for diagnosing intermittent failure bug 537573.
2010-03-16 16:04:20 -07:00
Ehsan Akhgari
9408713316
Bug 549887 - Make sure we don't crash if for some reason the layout init fails; r=dbaron
...
--HG--
extra : rebase_source : a112310d69c86f727471e2abaea31e1898f68ca1
2010-03-15 11:13:52 -04:00
Joel Maher
d050afae06
Bug 544097 Chaning mochitests to run against mochi.test instead of localhost r=ted, waldo, dwitte p=jmaher. Landed on CLOSED TREE
2010-03-12 13:53:36 -08:00
timeless@mozdev.org
247b83073d
Bug 550962 add coverity hint in CSSParserImpl to ignore return values from ParseEnum/ExpectSymbol
...
r=zwol
--HG--
extra : rebase_source : 5de1af8537fb0ab490cb51550029006e471cbe63
2010-03-12 07:50:10 +01:00
Daniel Holbert
beeb37de25
Bug 551397: CSS_PSEUDO_ELEMENT needs to be undefined before next definition. r=sicking
2010-03-10 12:33:37 -08:00
Brad Lassey
bb55fe310f
backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests
2010-03-09 22:33:11 -05:00
Joel Maher
aef3dc32c3
Bug 544097 changing mochitests to use mochi.test instead of localhost for windows mobile refactoring p=jmaher, r=ted,dwitte, sayrer, waldo, ctalbert
2010-03-09 08:55:39 -08:00
Henri Sivonen
337c239b98
Bug 546641 - Remove trailing from attribute value in test_parse_rule.html. r=roc.
...
--HG--
extra : rebase_source : 90abdd78f47d2b30d5e3fc2147b6d130fa61dc23
2010-03-09 15:03:29 +02:00
Kyle Huey
1d0289c601
Backed out changeset 8ce70abd7777
2010-03-09 01:14:21 -05:00
Joel Maher
cee9b522a0
Bug 544097 Change mochitests to use mochi.test instead of localhost for mobile refactoring p=jmaher r=ted,dwitte,sayrer
2010-03-08 19:21:33 -08:00
Jonas Sicking
3175f89133
Bug 534136 Part 3: Optimize atom-using code for the fact that atoms store 16bit strings. Also take advantage of new nsAtomString API. r=bz
2010-03-08 07:45:00 -08:00
Jonas Sicking
c4106f7f22
Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap
2010-03-08 07:45:00 -08:00
Jonas Sicking
1a6c0165bf
Bug 534136 Part 1: Make atoms keep a pointer to an nsStringBuffer rather than storing the data inline. r=bsmedberg
2010-03-08 07:44:59 -08:00
Ginn Chen
b8ef46d240
Bug 550405: [Sun Studio] Mangled name mismatch for LoadInlineStyle and LoadStyleLink (release build only) r=bzbarsky
2010-03-08 17:34:55 +08:00
Clint Talbert
7ffd9496bc
Backed out changeset b4372055f473 -- due to unexplained orange on OS X Leak test (Bd) box
2010-03-07 17:34:23 -08:00
Joel Maher
ef6c5fda3d
Bug 544097 - Change mochitests to use mochi.test instead of localhost for mobile test refactoring p=jmaher, r=sayrer,dwitte
2010-03-07 16:08:05 -08:00
Zack Weinberg
11dc66e189
Part of bug 541496: Don't use the CSS parser's "low level" error flag to signal namespace lookup failure. r=bzbarsky
...
--HG--
extra : rebase_source : 7e844cd9061aedc36d0e58d699e0ba18ca34cc82
2010-03-05 10:43:50 -08:00
Mark Banner
c54d4b13fb
Bug 549860 Fix non-libxul build bustage from bug 544112. r=ted over irc
2010-03-03 12:21:23 +00:00
Boris Zbarsky
ca0c6a507d
Bug 527977 part 4. Have rulenode always cache inherit structs on the style context (posibly in addition to caching on the rulenode. r=zwol, sr=dbaron
2010-03-02 18:27:21 -05:00
Boris Zbarsky
abae116f82
Bug 527977 part 3. Change the style context cached struct storage; inline GetStyle* and PeekStyle* now that they're pretty dead-simple. r=zwol, sr=dbaron
2010-03-02 18:27:21 -05:00
Boris Zbarsky
864b51b6ce
Bug 527977 part 2. Add a way to destroy the structs in an nsInheritedStyleData without trying to deallocate the object itself. r=zwol
2010-03-02 18:27:20 -05:00
Boris Zbarsky
f74086736a
Bug 527977 part 1. Remove unused ClearInheritedData functions. r=zwol
2010-03-02 18:27:20 -05:00
Zack Weinberg
2c3e543d1d
Bug 544112 part 2: DeCOMtaminate and devirtualize nsCSSLoader. r=bzbarsky sr=dbaron
...
--HG--
rename : layout/style/nsICSSLoader.h => layout/style/nsCSSLoader.h
2010-03-02 13:00:53 -08:00
Zack Weinberg
1e69ee7cc3
Bug 544112 part 1: Make speculative and chrome style sheet loads go through the document object. Rearrange some C++ unit tests so they'll still link after part 2. r=bzbarsky sr=dbaron
...
--HG--
rename : layout/html/tests/ParseCSS.cpp => layout/style/test/ParseCSS.cpp
rename : layout/html/tests/TestCSSPropertyLookup.cpp => layout/style/test/TestCSSPropertyLookup.cpp
2010-03-02 13:00:39 -08:00
Zack Weinberg
96887d3f38
Bug 523496: DeCOMtaminate nsCSSParser. r=bzbarsky sr=dbaron
...
--HG--
rename : layout/style/nsICSSParser.h => layout/style/nsCSSParser.h
2010-03-02 12:59:32 -08:00
Daniel Holbert
e84b322109
Bug 537139: Prevent SMIL animation from triggering CSS transitions. r=dbaron
2010-03-01 11:31:45 -08:00
Mounir Lamouri
d27579287c
Bug 549132 - middle-mouse paste fails in text input field if it is empty and does not have focus; r=bzbarsky
2010-03-01 09:43:20 -08:00
Boris Zbarsky
d4e773ce95
Bug 469861. Create a block for any block-level <math>. r=dbaron
2010-02-26 21:32:31 -05:00
Mounir Lamouri
54f1561afc
Bug 457800 - Implement placeholder attribute for text input fields; r=ehsan,bzbarsky,bolter sr=roc ui-r=faaborg
...
--HG--
extra : rebase_source : 2e2f3a73553d720b32812603b0ce96c89b9a6261
2010-02-26 10:47:38 -08:00
L. David Baron
c3b73f1ff5
Make the 'border' shorthand reset -moz-border-image (per recent CSS WG decision) and -moz-border-*-colors. (Bug 482692) r=bzbarsky
2010-02-26 10:35:09 -08:00
Jonathan Kew
f3a8507386
Bug 547267 followup - rename nsPresContext::GetLanguage to GetLanguageFromCharset for clarity. r=dbaron
2010-02-26 06:20:35 -08:00
Jonathan Kew
49cf41e772
Bug 547267 - make langGroup in nsStyleVisibility respect document's Content-Language if available. r=dbaron
2010-02-25 20:34:38 -08:00
Robert O'Callahan
f78f502204
Bug 541406. Temporarily disable showing outlines on focused plugins. r=dbaron
...
--HG--
extra : rebase_source : 94ac716a6c796c6f6e31f97847c91e56b747566b
2010-02-12 10:45:09 +13:00
Jonathan Kew
e9d0f828e0
Bug 524107 - part 1 - pass original value of 'lang' to gfx text code rather than only a 'langGroup' value, to allow language-specific font rendering. r=roc sr=mats
2010-02-24 09:57:44 -08:00
Shawn Wilsher
17cfa3d578
Bug 461199 (Part 27) - Fix test_visited_pref.html so it passes with the new async isVisited API
...
r?dbaron
2010-02-24 08:37:03 -08:00
Ehsan Akhgari
d14f0f9897
Bug 461199 (Part 20) - Rewrite the private browsing visited link coloring test to make it work with the new async API
...
r=mconnor
r=sdwilsh
r=bz
2010-02-24 08:37:02 -08:00
Shawn Wilsher
abba56baee
Bug 461199 (Part 16) - Remove now unused style code testing for Link and HTML Links.
...
r=bz
sr=dbaron
2009-12-15 16:04:15 -08:00
Shawn Wilsher
27a2fcd36e
Bug 461199 (Part 15) - Rely on nsIContent::IntrinsicState instead of nsIContent::GetLinkState in layout.
...
Layout should call IntrinsicState instead of GetLinkState. Simplifies a lot of
logic, and makes the code easier to follow.
r=bz
sr=dbaron
2009-12-15 16:04:12 -08:00
Ricardo Bittencourt
e6a3b1a9b5
Bug 431524. Make the 'cursor' set on a file input work for its button too. r=bzbarsky, ui-r=alimi
2010-02-23 23:37:47 -05:00
Boris Zbarsky
ebac0e31a3
Bug 534526 part 2. Move AttributeWillChange out of SetAttrAndNotify, and in particular to before ParseAttribute, since some ParseAttribute implementations actually change the attribute value. Also move it to before we've changed the CSSDeclaration for inline style changes. r=sicking,longsonr,dbaron
2010-02-23 23:37:47 -05:00
Shawn Wilsher
56b8597aca
Backed out changeset bca0b6ed92e4
2010-02-18 10:02:49 -08:00
Shawn Wilsher
40e546231a
Bug 461199 (Part 15) - Rely on nsIContent::IntrinsicState instead of nsIContent::GetLinkState in layout.
...
Layout should call IntrinsicState instead of GetLinkState. Simplifies a lot of
logic, and makes the code easier to follow.
r=bz
sr=dbaron
2009-12-15 16:04:12 -08:00
Zack Weinberg
6eb316c6e1
Bug 498036: Report malformed URIs in @import rules to the error console, not by setting the parser's low-level error flag. r=bz
2010-02-17 13:02:56 -08:00
Robert O'Callahan
a1010cb155
Backed out changeset 73f6051d6ff9
2010-02-12 14:12:11 +13:00
Robert O'Callahan
f2d6c543d8
Bug 541406. Temporarily disable showing outlines on focused plugins. r=dbaron
2010-02-12 10:45:09 +13:00
Justin Dolske
7af7ad098a
Bug 539828 - Need CSS pseudoclass for crashed plugins. r=dbaron
2010-02-09 17:05:31 -08:00
Jae-Seong Lee-Russo
513e9cf886
Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE'
2010-02-07 10:52:43 -05:00
L. David Baron
6670d61a56
Work around dependency problem for host_ListCSSProperties.o to fix current random orange. (Bug 544720)
2010-02-06 16:59:29 -08:00
L. David Baron
e69f98bf37
No longer need to null-check domProp in style system mochitests now that bug 374216 has landed.
2010-02-06 14:36:05 -08:00
Daniel Holbert
4a9a1b3347
In test_property_database.html, split up a 3-part check into separate checks, to elucidate new randomorange in test_property_database.html
2010-02-06 13:24:00 -08:00
Robert Longson
79ae710023
Bug 374216 - Setting element.style.someSvgProperty has no effect. r=dbaron,sr=roc
2010-02-06 13:46:54 +00:00
L. David Baron
66eda80913
Appropriately escape CSS identifiers when serializing. (Bug 543428) r=bzbarsky
2010-02-04 12:49:29 -08:00
Zack Weinberg
78db9dba3f
Bug 528096: unexpected-token error recovery paths in the CSS parser need to UngetToken() before calling SkipUntil(), for correct behavior when the unexpected token is ( [ { or FUNCTION. r=dbaron
2010-01-27 16:20:05 -08:00
Alfred Kayser
611bb071bf
Bug 399495: nsCSSScanner: absorb the '(' when returning a FUNCTION token. r=dbaron
2010-01-27 16:20:04 -08:00
L. David Baron
244a53d5bb
Fake pushback of invalid eCSSToken_URL results from NextURL. (Bug 541434) r=bzbarsky
2010-01-24 12:06:19 -08:00
Zack Weinberg
ab052b17a8
Bug 536603 potential fix: in httpd.js, the server socket's queue limit should be larger than the browser-side max number of connections per server. r=jrmuizel
2010-01-18 18:12:39 -08:00
Zack Weinberg
bee097ea73
Back out instrumentation for bug 536603 and re-disable test
2010-01-18 14:54:56 -08:00
Zack Weinberg
ef69f941b3
Extensive debugging instrumentation for bug 536603
2010-01-18 09:03:50 -08:00
Daniel Holbert
41a9eb240f
Bug 539585: Fix "warning: format '%p' expects type 'void*'" in layout directory. r=dbaron
2010-01-17 15:11:06 -08:00
Boris Zbarsky
1d3e09c88b
Adding bug 535806 test. r=dbaron
2010-01-13 11:37:54 -05:00
L. David Baron
515ee52627
Store transitions for one refresh cycle after they complete so that merging with a non-animation style change doesn't make us start a second transition to transition the last step. (Bug 537151) r=bzbarsky
2010-01-12 08:51:37 -08:00
Bernd
f4a1800dfb
bug 43178 - replace incorrect border, frame and rules handling code in content by css rules, initial patch - fantasai, a lof of input - bz r=bzbarsky
2010-01-09 16:33:03 +01:00
Boris Zbarsky
7288c16028
Bug 507817 followup. Remove some code that was just triggering a warning and not doing anything. r=vlad
2010-01-09 00:03:38 -05:00
L. David Baron
fe71055816
Make members of nsCSSStyleSheetInner private. (Bug 239008) r=bzbarsky
2010-01-07 08:51:16 -05:00
Robert O'Callahan
430f68fc01
Backed out changeset 880125b33bca
...
--HG--
extra : rebase_source : 3d0a098f7fa3ce93e9a2840db8fd9a790cb63792
2010-01-07 12:46:52 +13:00
romaxa
20519041b1
Bug 537124 - "Some native color values are not initialized properly (ex: eColor__moz_fieldtext)" [r=Ventron sr=roc]
2009-12-31 04:29:00 -06:00
Robert Longson
23ccf8ff6c
Bug 537609 - Change to SVG 1.2T stroke-dasharray parsing. r=dbaron
2010-01-06 08:51:45 +00:00
Daniel Holbert
dce1eac776
Bug 530983, patch 1: Extend nsStyleAnimation to support computing/uncomputing 'clip: auto'. r=dbaron
2010-01-04 16:32:11 -08:00
Boris Zbarsky
a99f0f4f96
Bug 536716. Make BuildScrollFrame not set the primary frame on the content, fix letter frames to reset primary frames to 0 before resetting them to the new value as needed, fix things so <area> never gets a frame of its own, and reenable the SetPrimaryFrame assertion when the primary frame is being changed from one non-null frame to another. r=roc
2009-12-31 14:07:56 -05:00
L. David Baron
1d3abc0523
Add method to nsStyleSet to call EnsureUniqueInner on all CSS sheets. (Bug 536379) r=bzbarsky
2009-12-31 10:56:33 -05:00
L. David Baron
0edebe9e9f
ClearRuleCascades when ensuring a stylesheet has a unique inner so that matched rules point back to the new rules. (Bug 536379) r=bzbarsky
2009-12-31 10:56:33 -05:00
L. David Baron
175e61cedf
Make EnsureUniqueInner return a tri-state result that says whether it needed to do any cloning. (Bug 536379) r=bzbarsky
2009-12-31 10:56:33 -05:00
L. David Baron
46b22b7ca0
DeCOMify nsHTMLCSSStyleSheet. (Bug 239008) r=bzbarsky
2009-12-31 10:56:33 -05:00
L. David Baron
c8c4296b20
Move class definition of nsHTMLCSSStyleSheet into its own header. (Bug 239008) r=bzbarsky
2009-12-31 10:56:32 -05:00
L. David Baron
7df0e7485a
Rename HTMLCSSStyleSheetImpl to nsHTMLCSSStyleSheet. (Bug 239008) r=bzbarsky
2009-12-31 10:56:32 -05:00
Markus Stange
7d68e3b7c5
Bug 527682 - Implement -moz-window-shadow values menu, tooltip and sheet. r=dbaron, r=dao, r=josh
2009-12-30 16:24:08 +01:00
Boris Zbarsky
fa1d8938cf
Bug 534808. Need to clear descendant intrinsic widths on height changes, due to replaced elements. r=dbaron
2009-12-29 15:13:54 -05:00
Boris Zbarsky
797cfc02f1
Bug 536789. Null-check the body, since we might not have one. r=dbaron
2009-12-27 08:48:10 -05:00
L. David Baron
3f7224b908
Disable the intermittently-failing tests (bug 536603) for Mac only, which is where they're failing.
...
--HG--
extra : transplant_source : %E2%F1%F2%3A%86%C7%C57%7F%16B%16m%94%0D%D6%EDg%A7r
2009-12-25 22:31:17 -05:00
L. David Baron
ae0a94adde
Backed out changeset f60b3bbfa8ce (debugging for bug 536603)
2009-12-25 22:29:02 -05:00
L. David Baron
f7e36c1f1a
Add some CSS loader debugging for mochitest orange bug 536603.
...
--HG--
extra : transplant_source : %5D7%FE%04%AE%D9%F2%FA3i%C3S%5B%89%5E%AB%D6%98J%21
2009-12-24 22:37:05 -05:00
L. David Baron
6b21cbe1e5
Merge backout of changeset aabd98c04dc9 (debugging for bug 536603)
2009-12-24 22:17:21 -05:00
L. David Baron
a819f0b290
Backed out changeset aabd98c04dc9 (debugging for bug 536603)
2009-12-24 22:17:05 -05:00
L. David Baron
f723d1ddb6
Fix the opposite type of orange as the previous fix: make the case where the transition completes before the setTimeout fires much much less likely.
...
--HG--
extra : transplant_source : %82%01%8B%CB%7C%CF%AA%24XY%03%F2%03%BD%BB/zO%15%E6
2009-12-24 17:43:39 -05:00
Boris Zbarsky
b3883855ac
Bug 500882 part 5. Switch layout module to using the new GetPrimaryFrame API. r=roc
2009-12-24 16:20:06 -05:00
L. David Baron
df4e925799
Add basic SJS debugging code for bug 536603.
...
--HG--
extra : transplant_source : %E4%AA%11pN%83Y2%B7%DAB%89%96V%DB%06%3C%04%F6%15
2009-12-24 09:22:48 -05:00
L. David Baron
751d555944
Remove debugging code for debugging bug 536603 (changeset 76e9dfaba122 and changeset 5275dda44819).
2009-12-24 08:44:44 -05:00
L. David Baron
0b044b907e
Debugging bug 536603: run tests twice to see if the problem is timing-related.
...
--HG--
extra : transplant_source : %0DU%3C%00%B5K%AF%99%1E%D8%C3W%CB%FDz%03b%DD%A9%82
2009-12-23 20:07:25 -05:00
L. David Baron
262d0bdc5b
Add debugging code to debug random orange bug 536603.
...
--HG--
extra : transplant_source : %C2%0E%04e%FBc%F2%ED%96%AA%81%A0%9F%EAd%12%2A%A3f%E3
2009-12-23 17:49:22 -05:00
L. David Baron
cbb3b13a8f
Tests for transitionend event. (Bug 531585)
2009-12-23 14:17:44 -05:00
L. David Baron
7a171b8f70
Dispatch transitionend events. (Bug 531585) r=bzbarsky
2009-12-23 14:10:31 -05:00
L. David Baron
68e63e1183
Add mechanism for returning computed value name of certain longhand properties of our fake shorthands. (Bug 531585) r=bzbarsky
2009-12-23 14:10:31 -05:00
L. David Baron
179ee34b4d
Make the transition manager reference-counted. (Bug 531585) r=bzbarsky
2009-12-23 14:10:31 -05:00
Zack Weinberg
d148dd7f69
Bug 524223: Even in quirks mode, ignore linked stylesheets which were served with an inappropriate MIME type, if they're from a different origin than the requesting document or stylesheet.
2009-12-23 10:01:51 -08:00
Benjamin Smedberg
c2bbf9c677
Back out all the pieces of bug 531585 (transitioned event for end of CSS transitions) because of timeouts in test_transitions_events.html
2009-12-23 10:15:26 -05:00
L. David Baron
bc6e15ca56
Tests for transitionend event. (Bug 531585)
2009-12-23 06:35:46 -05:00
L. David Baron
86ffd75ed3
Dispatch transitionend events. (Bug 531585) r=bzbarsky
2009-12-23 06:35:46 -05:00
L. David Baron
fb265821c4
Add mechanism for returning computed value name of certain longhand properties of our fake shorthands. (Bug 531585) r=bzbarsky
2009-12-23 06:35:46 -05:00
L. David Baron
6294ba95b7
Make the transition manager reference-counted. (Bug 531585) r=bzbarsky
2009-12-23 06:35:45 -05:00
L. David Baron
4927cc54c4
Merge backout of revisions fa5326c011b8, 8b22441911b0, and cfa10b01b1f6 (bug 531585) on suspicion of causing random orange bug 536382.
2009-12-22 15:47:42 -05:00
L. David Baron
eae023b6a3
Backout revisions fa5326c011b8, 8b22441911b0, and cfa10b01b1f6 (bug 531585) on suspicion of causing random orange bug 536382.
2009-12-22 15:46:23 -05:00
Metal Sonic
4c1b34d634
Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv.
2009-12-21 21:50:30 +00:00
L. David Baron
ac268014d7
Fix rather serious build warning about passing non-POD types to printf. DEBUG-only
2009-12-21 16:46:25 -05:00
L. David Baron
d0934f9f1f
Make the transition manager reference-counted. (Bug 531585) r=bzbarsky
2009-12-21 16:46:25 -05:00