Zack Weinberg
f4fb4a1991
Bug 729142 - Convert layout/style to MOZ_STATIC_ASSERT. r=dbaron
2012-02-23 08:19:00 -08:00
Mats Palmgren
0e9e24f0c7
Backout Part 4 of bug 524925 (73eaf1199ff0). r=roc
2012-02-07 12:31:37 +01:00
Mats Palmgren
c372ed8042
Bug 524925 - Make outline style changes update the overflow and repaint instead of reflow. part=4/6 r=roc
2012-01-18 21:04:51 +01:00
Benjamin Stover
dc9cd57308
Bug 524925 - Recompute overflow without reflowing for transforms. part=1/6 r=dbaron
...
Add an extra change hint, UpdateOverflow, that can be used to specify that
a frame's overflow areas may have changed and that they need to be recalculated.
When a transform on a frame changes, instead of marking it for reflow, set this
hint instead.
There is an added virtual function on nsIFrame, UpdateOverflow, which is called
recursively on a frame when the corresponding hint is set, to allow it to
update its overflow areas.
2011-06-15 14:03:49 -07:00
Boris Zbarsky
50e24a68bc
Bug 608756. Cache display structs in the ruletree even for floated and positioned elements. r=dbaron
...
The basic idea is that mOriginalDisplay and mOriginalFloats are kept synchronized with mDisplay and mFloats unless the latter are changed due to position:absolute/fixed (for both) or float:left/right (for display). When initializing an nsStyleDisplay from a start struct, we restore the values from mOriginalDisplay/Floats to get correct behavior.
2011-10-29 03:04:20 -04:00
Ehsan Akhgari
92064e6d3f
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
d2b70213ac
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Mounir Lamouri
975d80463f
Bug 633209 - Add ::-moz-progress-bar to access the anonymous div inside the progress element. r=dbaron
...
--HG--
rename : layout/reftests/forms/progress/margin-padding-ref.html => layout/reftests/forms/progress/margin-padding-rtl-ref.html
rename : layout/reftests/forms/progress/margin-padding.html => layout/reftests/forms/progress/margin-padding-rtl.html
2011-05-06 11:52:05 +02:00
Shawn Wilsher
d616bf2fcb
Back out bug 514437, bug 567872, bug 568825, bug 633209, bug 633913, bug 634086, bug 634088, bug 634549, bug 634551, bug 638176, bug 641517, bug 641905, bug 641942, bug 642127, and bug 642667 to undo the performance regression tracked by bug 655860.
2011-05-09 15:48:39 -07:00
Mounir Lamouri
8fd2b2f9bb
Bug 633209 - Add ::-moz-progress-bar to access the anonymous div inside the progress element. r=dbaron
...
--HG--
rename : layout/reftests/forms/progress/margin-padding-ref.html => layout/reftests/forms/progress/margin-padding-rtl-ref.html
rename : layout/reftests/forms/progress/margin-padding.html => layout/reftests/forms/progress/margin-padding-rtl.html
2011-05-06 11:52:05 +02:00
Masayuki Nakano
1adf21f3e7
Bug 647421 -moz-text-decoration-color and -moz-text-decoration-style should be reset by text-decoration r=dbaron, sr=bzbarsky
2011-04-23 14:16:41 +09:00
Masayuki Nakano
4ac1042cce
Bug 59109 Part 1: Adding -moz-text-decoration-color and -moz-text-decoration-style r=dbaron, sr=bzbarsky
2011-03-31 21:26:35 +09:00
L. David Baron
8ff298d446
Make nsCachedStyleData store arrays of nsStyleStruct*, and use style struct IDs for faster access to those arrays. (Bug 639231, patch 3) r=bzbarsky
2011-03-17 20:14:32 -07:00
Markus Stange
fae48f3bbd
Bug 506826 - Parsing for background-image: -moz-element(#elementID). r=dbaron
2010-08-13 15:33:37 +02:00
Matt Woodrow
104ade3438
Bug 505115. Use layers to render active 2D transforms. r=roc,dbaron
2010-08-02 15:07:04 +12:00
Robert O'Callahan
2e3d02e038
Bug 564991. Part 13: Optimize invalidation to avoid repainting ThebesLayer contents sometimes. r=mats,sr=dbaron
2010-07-16 09:07:53 +12:00
L. David Baron
c5676916f0
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
Jesse Ruderman
9478c01a40
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
Timothy Nikkel
dbc078a9ef
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
L. David Baron
ea2113c668
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
L. David Baron
5412d20e69
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
eb2548e97d
Make nsStyleContext::FindChildWithRules deal with the visited style context. (Bug 147777) r=bzbarsky
2010-04-02 18:58:26 -07:00
L. David Baron
b33a804541
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
4cf0bf0c58
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
80348d8506
Add mechanism for separate style data for visited style. (Bug 147777) r=bzbarsky
2010-04-02 18:58:25 -07:00
Craig Topper
fd9001c409
Bug 554253 - Convert nsCOMPtr<nsPresContext> to nsRefPtr<nsPresContext>. r=roc
...
--HG--
extra : rebase_source : d828daca07188864d055f3d1a72f5217632eb358
2010-03-25 14:17:11 +01:00
Boris Zbarsky
60af0c64d6
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
Robert Longson
28e410c8b6
Bug 523576 - Fix compilation with disable-svg. r=dbaron
2009-12-12 19:43:34 +00:00
Boris Zbarsky
5132d64872
Bug 525608 part 3. Change all style set consumers that ask for a pseudo style context to indicate what they're actually asking for (pseudo-element, anonymous box, or xul tree thing). r=dbaron
2009-12-11 02:37:40 -05:00
Boris Zbarsky
8202b90f61
Backing out bug 525608 and bug 525952
2009-12-10 18:28:08 -08:00
Boris Zbarsky
6eb3c28de7
Bug 525608 part 3. Change all style set consumers that ask for a pseudo style context to indicate what they're actually asking for (pseudo-element, anonymous box, or xul tree thing). r=dbaron
2009-12-10 14:36:05 -08:00
Boris Zbarsky
57f45031a1
Bug 528038. Make sure to propagate inherited changes properly for cases where the change hint doesn't apply to all descendants. r=dbaron
2009-11-18 08:25:02 -05:00
Boris Zbarsky
999ecb34d4
Bug 514773. Don't trigger rulenode gc unless we have rulenodes to gc. r=dbaron
2009-09-24 13:59:43 -04:00
L. David Baron
c46fca41b6
Make style contexts know whether they have data from a pseudo-element. (Bug 505515, Bug 435441) r=bzbarsky
2009-08-10 15:52:29 -07:00
Boris Zbarsky
3a7c74d351
Bug 509156. Don't assert on GetUniqueStyleData calls if we're using our parent's struct before the call. r=dbaron
2009-08-10 10:54:21 -04:00
Boris Zbarsky
589bd34dc6
Bug 508919. Stop leaking nsStyleBorder objects. r=dbaron
2009-08-07 10:38:44 -04:00
Daniel Holbert
45cf11272c
Bug 507695: Remove unneeded #includes from nsStyleContext.cpp. r=dbaron
2009-08-02 15:32:06 -07:00
Robert O'Callahan
fb3a1a19b2
Bug 495385. Text frames adjacent to block boundaries that contain only collapsible whitespace cannot affect layout, so don't create them. r+sr=bzbarsky
...
--HG--
extra : rebase_source : 2cd0b9d4bdfb47d8757efe0ca9983cbbcfca423c
2009-06-13 21:16:34 +12:00
Robert O'Callahan
ba91e5bc8a
Backed out changeset 69c6dbdfd179
2009-06-14 00:18:06 +12:00
Robert O'Callahan
b9b2bd7a9a
Bug 495385. Text frames adjacent to block boundaries that contain only collapsible whitespace cannot affect layout, so don't create them. r+sr=bzbarsky
...
--HG--
extra : rebase_source : 544ae2157803cf075a50d2a451c6179525ebbc36
2009-06-13 21:16:34 +12:00
L. David Baron
cb6012ec82
Remove nsStyleContext::DumpRegressionData, code that uses it, and code that exists only for it. (Bug 477522) r+sr=bzbarsky
2009-02-09 20:36:54 -08:00
L. David Baron
53fb188c38
Keep old rule trees around until they are no longer referenced. (Bug 475128) r+sr=bzbarsky
2009-01-29 20:39:23 -08:00
L. David Baron
d8da73cb1f
Backed out changeset 24917a339f2e (bug 475128) because it didn't patch the IsRoot check nsRuleNode::Sweep, which it needs to.
2009-01-29 14:36:34 -08:00
L. David Baron
b81d7c8a40
Keep old rule trees around until they are no longer referenced. (Bug 475128) r+sr=bzbarsky
2009-01-29 12:39:19 -08:00
L. David Baron
a16f1b0d6f
Remove nsStyleContext::Equals, since it is unused. (Bug 474675) r+sr=bzbarsky
2009-01-22 17:28:14 -08:00
L. David Baron
cca2d5f9d3
Add assertions to EndReconstruct that all style contexts have been reresolved. (Bug 473871) r+sr=bzbarsky
2009-01-16 13:32:09 -08:00
L. David Baron
81ff27426a
Make 'word-spacing: normal' just compute to '0', since that's what CSS 2.1 says to do, and thus change nsStyleText::mWordSpacing from nsStyleCoord to nscoord. (Bug 470705) r+sr=roc
2008-12-27 20:58:14 -05:00
Bernd
c4a59526d4
bug 258377 remove inline on PeekStyleData so that it can be called from the layout library r/sr=bzbarsky
2008-11-01 09:52:29 +01:00
Markus Stange
85e0b205be
Bug 450939 - Add -moz-window-shadow CSS property, r+sr=dbaron
2008-10-14 16:44:25 +02:00
Zack Weinberg
4802b549e0
Bug 458463 - Rename nsStyleFont::mFlags to ::mGenericID and stop treating it like a bitfield; r+sr=dbaron
2008-10-10 16:56:18 +02:00