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