Boris Zbarsky
a5dc24fd4e
Bug 502288. Provide finer-grained style change hints for triggering reflow. r=dbaron
2009-08-03 13:38:42 -04:00
Robert O'Callahan
4917b4ca00
Bug 504311. Don't reframe text when white-space changes between preformatted values, or between non-preformatted values. r=bz
...
--HG--
extra : rebase_source : 35015fafdb92544eea6bcc572122b0c2cda4305c
2009-07-30 15:02:22 +12:00
Daniel Holbert
604bf037ab
Bug 507695: Remove unneeded #includes from nsStyleContext.cpp. r=dbaron
2009-08-02 15:32:06 -07:00
Michael Ventnor
4e2c25d11b
Bug 479220: Implement support for CSS gradients: -moz-linear-gradient() and -moz-radial-gradient(). r=roc, dbaron
2009-08-01 08:53:40 -07:00
David Zbarsky
058ae0c319
Bug 507487: Selectors should have dual atoms so they can correctly (and case-sensitively) match non-HTML elements in text/html documents, part 2: fix RuleHash to hash tag selectors twice when needed. r=dbaron
2009-08-01 08:53:40 -07:00
David Zbarsky
073534f750
Bug 499655: Selectors should have dual atoms so they can correctly (and case-sensitively) match non-HTML elements in text/html documents, part 1. r=dbaron
2009-08-01 08:53:40 -07:00
L. David Baron
1d55af8964
Separate RuleProcessorData and derived structs into their own header file to reduce include dependencies. (Bug 435441) r=bzbarsky
...
--HG--
rename : layout/style/nsIStyleRuleProcessor.h => layout/style/nsRuleProcessorData.h
2009-08-01 08:53:40 -07:00
L. David Baron
aa17a93482
Don't resolve a new context for the root when we're computing rem units for the root. (Bug 478321) r=bzbarsky
2009-08-01 08:53:40 -07:00
L. David Baron
794f6341af
Merge backout of changeset 358af1196dc2 (bug 499655) until we get bug 507487 sorted out.
2009-07-31 09:40:17 -07:00
L. David Baron
b87dee610c
Backed out changeset 358af1196dc2 (bug 499655) until we get bug 507487 sorted out.
2009-07-31 09:39:53 -07:00
Dão Gottwald
067fd95b76
Backed out changeset c086fca6fc55
2009-07-31 14:35:48 +02:00
Michael Ventnor
e8972fd5ad
Bug 479220 - Implement the CSS gradients proposal. r=roc,dbaron sr=roc
2009-07-31 13:32:32 +02:00
Shawn Wilsher
f243c511c5
Merge for back out of changeset 8506b25206cf (bug 504311) because the test added uses enablePrivilege which hangs tinderbox asking for privileges. Trying to fix a CLOSED TREE.
2009-07-30 13:17:18 -07:00
Shawn Wilsher
ceac025562
Backed out changeset 8506b25206cf (bug 504311) because the test added uses enablePrivilege which hangs tinderbox asking for privileges.
2009-07-30 13:16:15 -07:00
David Zbarsky
173ce6f501
Bug 499655. Selectors should have dual atoms: HTML and other. r=dbaron
2009-07-30 13:28:42 -04:00
Robert O'Callahan
0eeaa34755
Bug 504311. Don't reframe text when white-space changes between preformatted values, or between non-preformatted values. r=bz
...
--HG--
extra : rebase_source : 7f545ad1d85bcda74d18d9308539b45149a4a194
2009-07-30 15:02:22 +12:00
Timothy Nikkel
cf34b5b9a6
Bug 504269. background color of iframe not drawn on print. r+sr=roc
2009-07-29 18:10:50 -04:00
Timothy Nikkel
8520ce4482
Bug 269908. <legend> default style changes restrict styling options. r+sr=bzbarsky
2009-07-29 18:10:50 -04:00
Neil Deakin
0781cb50a9
Bug 478416, replace chromedir attribute with :moz-locale-dir pseudoclass, r=neil,dao,dbaron,sr=dbaron
2009-07-29 14:33:53 -04:00
Boris Zbarsky
01b4c24009
Bug 503467. Rearrange the code a bit in ParseNumber to make it more readable. r=dbaron
2009-07-22 21:35:07 -04:00
L. David Baron
8b5f79e27b
Also block -moz-box-shadow when using document-specified colors is disabled, and fix a testing error with the patch for text-shadow. (Bug 503188) r=bzbarsky
2009-07-20 07:04:42 -04:00
L. David Baron
9c08c44068
Add tests for cloning of media queries. (Would have caught bug 504032.)
2009-07-20 07:04:42 -04:00
Boris Zbarsky
af3ce87277
Bug 504032. Make sure to copy mIsEmpty when cloning media lists. r=dbaron
2009-07-17 23:47:38 -04:00
Peter Van der Beken
323415d9b6
Part 1 of fix for bug 500850 (Make inline style use wrapper cache and slimwrappers). r/sr=bz.
...
--HG--
extra : rebase_source : 21f9c86dc4024e0e23882226e8395d61d5b0c518
2009-07-13 13:14:57 +02:00
L. David Baron
11f5e3c4b7
Add tests for media query serialization.
2009-07-15 17:24:25 -07:00
L. David Baron
2d691e41f9
Add tests for selector serialization and cloning.
2009-07-15 17:24:24 -07:00
L. David Baron
00580f3a8b
Reformat the list of CSS properties by splitting macros into multiple lines to make the list easier to edit and merge. Whitespace changes only. pre-r=bzbarsky
2009-07-15 17:24:24 -07:00
L. David Baron
6960e1b29e
Block text-shadow when using document-specified colors is disabled. (Bug 503188) r=bzbarsky, roc
2009-07-15 17:24:24 -07:00
L. David Baron
69f704b5cc
Make whether a property should be ignored when page colors are disabled part of the property flags table. (Bug 503188) r=bzbarsky
2009-07-15 17:24:24 -07:00
Peter Van der Beken
51e0e93326
Fix for bug 499781 (Move some methods from nsILink to nsIContent). r=bz, sr=dbaron.
...
--HG--
extra : rebase_source : da0ec8bfb6825d2e55edd2f5b08a9e43b033a2a3
2009-07-13 13:48:06 +02:00
Boris Zbarsky
0aec2cb31c
Bug 498559 followup to clean up the code. r=dbaron
2009-07-09 20:36:57 -07:00
Boris Zbarsky
9300423136
Adding test for bug 498559. r=dbaron
2009-07-09 19:53:00 -07:00
Boris Zbarsky
da1fe1d477
Bug 498559. Speed up tokenizing numbers in CSS. r+sr=dbaron
2009-07-09 18:44:20 -07:00
Boris Zbarsky
43441eba54
Bug 498562. Skip the Expand/Compress cycle in the common case of inline style sets. r+sr=dbaron
2009-07-09 14:50:39 -07:00
Jeff Walden
500d9d724c
Bug 189519 - Implement CSS3 (-moz- for now)background-size. r=dbaron, other useful review comments from roc/bz
2009-05-28 11:09:05 -07:00
Timothy Nikkel
d79ba77609
Bug 488242. Make iframes with semi-transparent backgrounds work correctly by painting all canvas background colors using a dedicated fallback background color display item. r+sr=roc
2009-07-04 21:30:59 +12:00
Robert O'Callahan
140eb0ea0d
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
Nochum Sossonko
43fea55b29
Bug 333808 - safe mode should disable userContent.css and userChrome.css. r=bsmedberg, sr=bz
2009-06-22 13:34:41 +02:00
Boris Zbarsky
32c180cfae
Bug 495798. Drop native theming for controls styled with transparent backgrounds, even if the user said to not use the page colors. r+sr=dbaron
2009-06-16 15:05:12 -07:00
L. David Baron
6730c2f7fd
Remove support for fallback background colors. (Bug 496721) r+sr=bzbarsky
2009-06-16 08:00:20 -07:00
Arpad Borsos
77b21ab250
Back out b8e531a6c961 (Bug 474369), it really did cause the windows dhtml regression
...
--HG--
extra : rebase_source : 568114bcfc5a7710d9e2c2fe5e234fa190bebba1
2009-06-16 14:38:51 +02:00
Arpad Borsos
a19520a847
Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron
2009-05-07 17:15:26 +02:00
Michael Ventnor
62a4ca0271
Bug 496454. Introduce menubar text system color, and use it with GTK. r=roc
...
--HG--
extra : rebase_source : d79b39d1bfdecbc75785ab49add6ade07ff8c822
2009-06-15 09:58:14 +12:00
Robert O'Callahan
a36734c485
Backed out changeset 69c6dbdfd179
2009-06-14 00:18:06 +12:00
Robert O'Callahan
bc9f1f1d4a
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
Arpad Borsos
f935ad0919
Back out bug 474369, suspected of causing dhtml and tp3 regression
2009-06-12 23:20:55 +02:00
Arpad Borsos
2c38117932
Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron
...
--HG--
extra : rebase_source : 2f40cba97555521222512c7cd793c2a2adcca333
2009-05-07 17:15:26 +02:00
Neil Rashbrook
2e9bc4f075
Bug 458231 Frame overflow plays havoc with size of <label> or <description> r+sr=roc r=dao for backout of workaround for bug 69710
2009-06-12 08:33:51 +01:00
Daniel.S
cc75e28f54
Bug 436046 - "display != none should not apply to input[type=hidden]". r+sr=bzbarsky
2009-06-11 10:35:41 -04:00
Henri Sivonen
5ce5655c12
Bug 468708 - namespaceURI for HTML elements should be http://www.w3.org/1999/xhtml (also make localName return in lower case) r=sicking, sr=peterv, a=beltzner
2009-06-09 10:41:19 +03:00
Boris Zbarsky
fc50c8c8bf
Bug 495269 followup. Rev the iid of nsICSSRule.
2009-06-01 14:55:28 -04:00
Boris Zbarsky
81e353cc6c
Bug 495274. Fix broken selector cloning. r+sr=dbaron
2009-05-28 20:41:27 -04:00
Boris Zbarsky
05d3171c08
Bug 495269. Fix our detection of @import rules when cloning sheets. r+sr=dbaron
2009-05-28 18:16:31 -04:00
Boris Zbarsky
741996558e
Bug 493968. Correctly keep track of all the kids of a cloned sheet, not just the last one. r=roc, r+sr=dbaron pending.
2009-05-26 15:40:49 -04:00
Dave Townsend
ca9fcef56b
Backed out changeset 461d728271d1
2009-05-19 13:51:18 +01:00
Arpad Borsos
996e06a4de
Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron
2009-05-07 17:15:26 +02:00
Karl Tomlinson
1a34a67e20
b=481751 block-height line-height for text input and strut baseline for textarea r=bz,sr=dbaron
...
--HG--
extra : rebase_source : 1241360066ea9387d15c71936da9468399240640
2009-05-19 10:13:12 +12:00
L. David Baron
d39e323ea7
Add test for CSS parsing of garbage at end of declarations. (Bug 390260)
2009-05-15 16:01:19 -07:00
Arpad Borsos
182558a8ba
Bug 492531 - Optimize some CSS and Reflow classes for memory usage; r+sr=dbaron
2009-05-13 10:26:48 +02:00
Robert O'Callahan
4962cbd940
Bug 488901. When an element's size changes and it has borders, we don't necessarily need to invalidate the entire border-box --- if there is no right or bottom border, and other conditions are met. r+sr=dbaron
...
--HG--
extra : rebase_source : 24306ec844dab873cc9b580f32a383f0ccb769a5
2009-05-08 13:52:22 +12:00
L. David Baron
bd3965a189
Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer
2009-05-06 13:46:04 -07:00
L. David Baron
bcb9ff3dc3
Drop use of JS 1.7 features so that this test can run on other browsers.
2009-05-06 13:46:01 -07:00
Daniel.S
3e50a5fca6
Add test for bug 317561.
2009-04-23 10:17:40 -04:00
Daniel.S
fea61dc7fc
Bug 487942 - Remove cursor: -moz-alias | -moz-cell | -moz-context-menu | -moz-copy | -moz-spinning; property_database.js update; r+sr=dbaron
2009-04-22 14:24:34 +02:00
Daniel.S
f66ea9166b
Bug 487942 - Remove cursor: -moz-alias | -moz-cell | -moz-context-menu | -moz-copy | -moz-spinning; remove: -moz-cell alias; r+sr=dbaron
2009-04-22 14:24:32 +02:00
timeless@mozdev.org
53a1ecae18
Bug 487188 - PRExpectEndValue is a typo for PEExpectEndValue. r=dbaron
2009-04-17 16:47:45 +02:00
Boris Zbarsky
744a4b708b
Bug 485012 followup. Rev the iid of nsICSSLoader. r+sr=peterv
2009-04-10 10:32:44 -04:00
Boris Zbarsky
c2aeda131e
Bug 485012. Allow passing a charset hint (e.g. the element's 'charset' attribute for preloads) to nsICSSLoader::LoadSheet. r+sr=peterv
2009-04-10 10:29:08 -04:00
Dão Gottwald
22c6682386
Bug 487059 - clearUserPref shouldn't throw if a pref doesn't have a default or user value. r+sr=bsedberg
2009-04-10 10:24:24 +02:00
Alfred Kayser
237bf9cba3
Bug 483971 - nsCSSScanner: cleanup of EatWhiteSpace and removal of EatNewline. r+sr=dbaron
2009-04-09 08:46:26 +02:00
Boris Zbarsky
cb067c4c0f
Backed out changeset 3c687f3d4ff4 (bug 482971) on suspicion of causing intermittent leak orange.
2009-04-09 11:58:40 -04:00
Alfred Kayser
5ff59cd88c
Bug 483971 - nsCSSScanner: cleanup of EatWhiteSpace and removal of EatNewline. r+sr=dbaron
2009-04-09 08:46:26 +02:00
L. David Baron
f52e9fd148
Remove nsCSSOMFactory/nsICSSOMFactory. (Bug 376111) r+sr=bzbarsky
2009-04-08 13:52:37 -07:00
Robert Longson
030d4ba28c
Bug 423756 - Support image-rendering attribute for html images and css backgrounds. r=joe,vlad sr=roc
2009-04-05 10:52:14 +01:00
Zack Weinberg
4908551014
Bug 475535 - don't go through PaintBackgroundWithSC to draw non-native radio buttons and checkboxes; remove special UA pseudo-elements for styling these. r+sr=roc
2009-04-03 10:45:17 +02:00
L. David Baron
a0aa75b4ed
Use a valid value for storing in a bitfield as the style struct ID for backend-only properties. (Bug 469244) r+sr=bzbarsky
2009-04-02 07:55:50 -07:00
L. David Baron
0d90e8dc42
Remove the CSS_PROP_NOTIMPLEMENTED macro, which hasn't been needed since bug 3247 landed. (Bug 486353) r+sr=bzbarsky
2009-04-02 07:55:50 -07:00
L. David Baron
ff339a1595
Remove unneeded code for handling nulls in compressed blocks. (Bug 486415) r+sr=bzbarsky
2009-04-02 07:55:50 -07:00
Dão Gottwald
2be40fed8f
Backed out changeset cc4fae01938c
2009-04-02 12:03:52 +02:00
Zack Weinberg
26daaa1428
Bug 475535 - don't go through PaintBackgroundWithSC to draw non-native radio buttons and checkboxes; remove special UA pseudo-elements for styling these. r+sr=roc
2009-04-02 09:57:13 +02:00
Jeremy D. Lea
d37e6bf09c
Bug 431634 - Part 1 - clean up header pollution; r+sr=roc
2009-04-01 13:59:02 -08:00
Robert O'Callahan
fa161021f4
Bug 476062. Instead of turning off -moz-appearance when an element has a box-shadow, just ignore the box-shadow. r+sr=dbaron
...
--HG--
extra : rebase_source : 68e79ec44afd089b93870a5d87ea549d5f04b9d6
2009-04-01 14:07:18 +13:00
L. David Baron
97fb16931a
Don't mess with the max_script_run_time pref since the mochitest harness now does that for us.
2009-03-31 12:37:40 -07:00
L. David Baron
0416726311
Use SimpleTest.executeSoon instead of setTimeout for iteration of properties/descriptors.
2009-03-31 12:37:40 -07:00
L. David Baron
71037ea343
Add some tests for invalid values of 'font-family' (related to bug 481502)
2009-03-31 12:37:40 -07:00
Boris Zbarsky
68e04261bd
Bug 486044. Make sure to pass the right principal to CreateSheet even in the non-document sheet case. r+sr=sicking
2009-03-31 15:04:01 -04:00
Boris Zbarsky
eef25b9382
Bug 457809 preliminary. Fix this test so it doesn't fail when we preload the sheet. r+sr=dbaron
2009-03-30 11:25:35 -04:00
Robert Longson
4758aaeb28
Bug 484150 - support image-rendering attribute. Includes some gfx code by vlad from bug 423756 which is r=joe. The rest is r=dbaron, sr=roc
2009-03-21 15:36:38 +00:00
Robert O'Callahan
4da5a0b80a
Bug 476062. Author-applied 'box-shadow' should cause elements to drop their native look. r+sr=dbaron
...
--HG--
extra : rebase_source : 6f5dfac238eb19be1b38cdd612e5dda8ac457e57
2009-03-18 13:32:08 +13:00
Boris Zbarsky
51ff79c905
Bug 416942. Give user and ua sheets the system principal. r+sr=sicking
2009-03-16 21:38:36 -04:00
Zack Weinberg
7781b7ec74
Bug 480582 - contenteditable=true breaks mouse pointer hover style for unrelated image links. r+sr=peterv
2009-03-16 12:55:03 +01:00
Boris Zbarsky
0b4c5e88e9
Bug 480065. Make chrome registry not mess with inline stylesheets. r=bsmedberg, sr=dbaron
2009-03-10 09:52:23 -04:00
Boris Zbarsky
92d9ac6dc5
Bug 482394. Drop the aForStyling check in IsHTMLLink/IsLink: if we change the link state, we need to start tracking the link. r+sr=dbaron
2009-03-10 09:51:34 -04:00
L. David Baron
d44ab96269
Add tests to check case (2) for shorthands in nsCSSDeclaration::GetValue.
2009-03-09 16:14:34 -07:00
L. David Baron
97d5bc6cec
Add some simple tests for units (since code coverage output showed we weren't testing serialization of all of them).
2009-03-09 16:14:34 -07:00
L. David Baron
30d365a594
Add tests for font descriptors that are equivalent to test_value_storage and test_property_syntax_errors.
2009-03-09 16:14:34 -07:00
L. David Baron
500bc42c78
Avoid crashing on fontFaceRule.style.getPropertyValue('font-family') when there's no font-family descriptor. (Bug 482148) r=zweinberg
2009-03-09 16:14:34 -07:00
L. David Baron
1d20752bcb
Remove internal support for units that were never in CSS (feet, miles, meters, kilometers, didots, ciceros). (Bug 482146) r+sr=bzbarsky
2009-03-09 16:14:34 -07:00
L. David Baron
79dea15fdc
Reject non-positive values for widows and orphans. (Bug 481826) r+sr=bzbarsky
2009-03-09 16:14:34 -07:00
L. David Baron
0a103ea907
Rename ParsePositiveVariant to ParseNonNegativeVariant. (Bug 481826) r+sr=bzbarsky
2009-03-09 16:14:34 -07:00
L. David Baron
9be340d94c
Fix serialization bugs with text-decoration:-moz-anchor-decoration. (Bug 481596) r+sr=bzbarsky
2009-03-06 13:05:01 +09:00
L. David Baron
43c907cc71
Remove unreachable code, since text-decoration:none is not stored as an enumerated value. (Bug 481595) r+sr=bzbarsky
2009-03-06 13:05:01 +09:00
L. David Baron
349c461d27
Test more values for 'content' property. (These tests require the three previous patches to pass.) (Bug 481591)
2009-03-06 13:05:01 +09:00
L. David Baron
5bb8db95c0
Fix serialization of the list-style-type part of counter values. (Bug 481591) r+sr=bzbarsky
2009-03-06 13:05:01 +09:00
L. David Baron
842f1fecc7
Append the list-style-type part of counters correctly in computed style. (Bug 481591) r+sr=bzbarsky
2009-03-06 13:05:01 +09:00
L. David Baron
09af463744
Split eCSSUnit_String into eCSSUnit_String (with quotes), eCSSUnit_Ident (without quotes), and eCSSUnit_Families (font family list, but not for @font-face descriptor where the single family is stored as eCSSUnit_String). (Bug 481591) r+sr=bzbarsky
2009-03-06 13:05:01 +09:00
L. David Baron
059d4ab029
nsCSSDeclaration::ValueAppended is never called on shorthands, so it doesn't need code to handle them. (Bug 481594) r+sr=bzbarsky
2009-03-06 13:05:01 +09:00
L. David Baron
343d35d06c
Quote and escape contents of url() when serializing. (Bug 478160) r+sr=bzbarsky
2009-03-06 13:05:01 +09:00
L. David Baron
5bc877d184
Change nsStyleUtil::EscapeCSSString to nsStyleUtil::AppendEscapedCSSString, since almost all callers prefer append behavior anyway. (Bug 478160) r+sr=bzbarsky
2009-03-06 13:05:00 +09:00
L. David Baron
e80b724768
Add test for CSS property priority (!important) preservation. (This fixes the fact that we don't have any tests covering expansion of compressed blocks with !important declarations, and also tests a bit more while I'm there.)
2009-03-05 12:49:30 +09:00
L. David Baron
37a2283c6d
Add test for blocking of -moz-border-*-colors based on code coverage output.
2009-03-05 12:49:30 +09:00
L. David Baron
6c191780f8
I don't need to see the rule hash debugging output anymore.
2009-02-24 16:14:46 -08:00
L. David Baron
c76569a502
Fix outparam static analysis warnings in nsComputedDOMStyle by actually assigning to the outparam. (Bug 479433) r+sr=bzbarsky
2009-02-24 16:14:46 -08:00
L. David Baron
3cae8ff02d
Flush layout earlier in getComputedStyle(). (Bug 454276) r+sr=bzbarsky
2009-02-24 16:14:45 -08:00
L. David Baron
a2956aaa70
Call SetPropertyBit(background_color) when we set data for that property, on the off chance it will fix the intermittent layout/reftests/bugs/289480.html orange. (Bug 322475)
2009-02-20 10:50:25 -08:00
L. David Baron
94595f2f88
Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky
2009-02-19 21:29:21 -08:00
L. David Baron
4dd811d171
Fix another case where we incorrectly serialize an -x-system-font property. (Bug 478156) r+sr=bzbarsky
2009-02-19 13:55:48 -08:00
L. David Baron
4d8987fb95
Stop using potentially-deep recursion to serialize selectors. (Bug 475215) r+sr=bzbarsky
2009-02-19 13:55:48 -08:00
L. David Baron
48416a1941
Add tests for code I'm going to change, and fix crash when running those tests. (Bug 475215) r+sr=bzbarsky
2009-02-19 13:55:48 -08:00
L. David Baron
c674a753b4
Backed out changeset fde0b361f25e (bug 322475, main patch) due to Mac talos startup failures and hitting the NS_ABORT_IF_FALSE in SetupBackgroundClip, which may be related.
2009-02-19 13:51:46 -08:00
L. David Baron
caf423a97a
Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky
2009-02-19 12:33:09 -08:00
L. David Baron
77c163c9a9
Back out all 8 changesets that I just landed (bugs 477959, 477961, 322475, 478899, 475215, 478156) again, because Talos Try server builds lie about which changesets they're testing.
2009-02-19 09:06:18 -08:00
L. David Baron
6f1cf10a05
Fix another case where we incorrectly serialize an -x-system-font property. (Bug 478156) r+sr=bzbarsky
2009-02-19 07:29:28 -08:00
L. David Baron
9000e03a89
Stop using potentially-deep recursion to serialize selectors. (Bug 475215) r+sr=bzbarsky
2009-02-19 07:29:28 -08:00
L. David Baron
cb59b7203d
Add tests for code I'm going to change, and fix crash when running those tests. (Bug 475215) r+sr=bzbarsky
2009-02-19 07:29:28 -08:00
L. David Baron
038026b7b5
Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky
2009-02-19 07:29:28 -08:00
L. David Baron
0e185f2bc0
Revert (back out) the previous 11 changesets (bugs 477959, 477961, 477963, 477962, 322475, 478899, 475215, 478156), due to Mac talos orange with (as usual) no useful diagnostic.
2009-02-18 18:59:47 -08:00
L. David Baron
9a15d23dc0
Remove MOZ_COUNT_CTOR/MOZ_COUNT_DTOR from nsStyleBackground::Layer because the copy constructor is now used. (Bug 322475)
2009-02-18 18:04:03 -08:00
L. David Baron
152d27da8f
Fix another case where we incorrectly serialize an -x-system-font property. (Bug 478156) r+sr=bzbarsky
2009-02-18 17:13:26 -08:00
L. David Baron
9c8debe838
Stop using potentially-deep recursion to serialize selectors. (Bug 475215) r+sr=bzbarsky
2009-02-18 17:13:26 -08:00
L. David Baron
a0afe9bf76
Add tests for code I'm going to change, and fix crash when running those tests. (Bug 475215) r+sr=bzbarsky
2009-02-18 17:13:25 -08:00
L. David Baron
3c4144d0e6
Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky
2009-02-18 17:13:25 -08:00
Zack Weinberg
cf26ce10a4
Bug 473815 - Improve diagnostics for malformed @font-face rules; r+sr=dbaron
2009-02-12 05:15:56 +01:00
Michael Ventnor
6784138b72
Bug 477531. Support CSS3 :indeterminate pseudo-class. r+sr=dbaron,r=bzbarsky
...
--HG--
extra : rebase_source : 03d1be9b5742e8d17114aaeb0b5de20d61926d51
2009-02-11 14:19:37 +13:00
Jesse Ruderman
e0ff240014
Add a bunch of crashtests
2009-02-10 22:18:05 -08:00
Jesse Ruderman
aab1c02b20
Add some crashtests
2009-02-10 16:36:04 -08:00
Michael Ventnor
7a2af3b188
Bug 476738. Implement 'inset' box-shadows. r+sr=roc,r=dbaron
2009-02-10 21:45:13 +13:00
L. David Baron
f60528cf06
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
Jesse Ruderman
15035d1940
Skip long-url-list-stack-overflow.html because it keeps timing out. See bug 477490.
2009-02-08 09:15:15 -08:00
Jesse Ruderman
d9d331fea9
Add crashtests for the following bugs: https://bugzilla.mozilla.org/buglist.cgi?quicksearch=328944+401042+413085+416461+431705+437142+449006+463741+465651+472782+474744
2009-02-07 21:33:31 -08:00
L. David Baron
ec72154dad
Typesafe helpers for nsCSSDataBlock::StorageFor. (Bug 475214) r+sr=bzbarsky
2009-02-06 08:52:13 -08:00
L. David Baron
1abc7bdbee
Eliminate nsCSSDeclaration::GetValueOrImportantValue. (Bug 475214) r+sr=bzbarsky
2009-02-06 08:52:13 -08:00
L. David Baron
e4adec9a07
Make serialization handle system fonts and the font shorthand better. (Bug 475214) r+sr=bzbarsky
2009-02-06 08:52:12 -08:00
Boris Zbarsky
68503b1a05
Bug 299837. Implement text-align:end. r+sr=dbaron
2009-02-05 22:48:30 -05:00
Boris Zbarsky
3e1029bdb6
Bug 475986. Make text-align:start work on <html:th> correctly. r+sr=dbaron
2009-02-05 22:48:29 -05:00
Neil Rashbrook
713a59ce01
VC7.1 bustage fix for bug 183348 r+sr=bz
2009-02-05 09:38:51 +00:00
L. David Baron
050661290a
Ensure correct alignment for nsCSSValue objects inside nsCSSValue::Array. (Bug 476345) r+sr=bzbarsky
2009-02-04 21:15:52 -08:00
L. David Baron
8a91739bce
Merge backout of changeset d9eff1fb5e60 (bug 476345) due to Windows bustage.
2009-02-04 14:39:40 -08:00
L. David Baron
13802ebd86
Backed out changeset d9eff1fb5e60 (bug 476345) due to Windows bustage.
2009-02-04 14:39:23 -08:00
L. David Baron
3799c4263d
Ensure correct alignment for nsCSSValue objects inside nsCSSValue::Array. (Bug 476345) r+sr=bzbarsky
2009-02-04 13:24:17 -08:00
L. David Baron
6cf1d07186
Merge backout of changeset eec3076f3bab (Bug 474655, Warn when nsIDOMCSSStyleDeclaration::GetPropertyCSSValue is called) because we trigger the warning too much ourselves (Bug 475311)
2009-02-04 13:23:16 -08:00
L. David Baron
cb76302bb2
Backed out changeset eec3076f3bab (Bug 474655, Warn when nsIDOMCSSStyleDeclaration::GetPropertyCSSValue is called) because we trigger the warning too much ourselves (Bug 475311)
2009-02-04 13:22:45 -08:00
Boris Zbarsky
88f06a6dfa
Make legends display:block by default when they're not in a fieldset. Bug 476063
2009-02-04 12:18:47 -05:00
Arpad Borsos
6db605f5b3
Bug 474369 - get rid of nsVoidArray; layout part; r+sr=roc
2009-02-03 15:42:18 +01:00
Boris Zbarsky
0ea4dd1d2d
Bug 476063. Only do special fieldsetty stuff with <legend>s that are in a fieldset. r+sr=dbaron
2009-02-03 09:29:47 -05:00
L. David Baron
014d19fb8b
Rename aInherited/inherited to aCanStoreInRuleTree/canStoreInRuleTree. (Bug 476598) r+sr=bzbarsky
2009-02-04 13:24:18 -08:00
L. David Baron
6eeb007da6
Reverse the boolean meaning of inherited/aInherited. (This patch, without the next patch to rename things, makes the code make less sense.) (Bug 476598) r+sr=bzbarsky
2009-02-04 13:24:18 -08:00
L. David Baron
f1ff878765
Make the aInherited parameters to Compute*Data const. (Bug 476598) r+sr=bzbarsky
2009-02-04 13:24:18 -08:00
L. David Baron
c413c2574f
Fix incorrect uses of aInherited rather than inherited so that we can make aInherited const. (Bug 476598) r+sr=bzbarsky
2009-02-04 13:24:18 -08:00
L. David Baron
bc2262a5dc
Warn when nsIDOMCSSStyleDeclaration::GetPropertyCSSValue is called. (Bug 474655) r+sr=bzbarsky
2009-01-22 17:28:14 -08:00
L. David Baron
6a3087fa7e
Remove nsStyleContext::Equals, since it is unused. (Bug 474675) r+sr=bzbarsky
2009-01-22 17:28:14 -08:00
L. David Baron
ee639be353
Fix mismatch between new[] and delete. (Bug 376075) r+sr=bzbarsky
2009-01-22 17:28:14 -08:00
L. David Baron
27a418d856
Make getComputedStyle() for 'outline-width' return values in pixels even when keywords are used. (Bug 474184) r+sr=bzbarsky
2009-01-22 17:28:13 -08:00
L. David Baron
035b03d92f
Fix parsing of 'none' values in 'list-style' shorthand. (Bug 474135) r+sr=bzbarsky
2009-01-22 17:28:13 -08:00
John Daggett
fb7d8ba643
Bug 474704 - drop channel on cross-site load failure to avoid leak. r=bz,jonas, sr=jonas
2009-01-31 17:58:42 +09:00
L. David Baron
8a05c0b148
Keep old rule trees around until they are no longer referenced. (Bug 475128) r+sr=bzbarsky
2009-01-29 20:39:23 -08:00
Boris Zbarsky
bcaeb0f06f
Bug 475268. Make sure to not set background without setting color in XML prettyprinting. r+sr=sicking
2009-01-29 22:31:24 -05:00
L. David Baron
c2e5c22ab1
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
440b9fc96a
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
5e75e612a2
Implement CSS computation of font-stretch property and store it in the gfx font structures. (Bug 3512) r=vlad sr=bzbarsky
2009-01-29 12:39:18 -08:00
Neil Rashbrook
a93682c499
Bug 473933 Really fix crash caused by bug 441359 r+sr=bz a=beltzner
2009-01-28 11:22:08 +00:00
Robert Longson
588f9c6984
Bug 472135. Invalidate markers using style system hints instead of doing an eager invalidation (which reacquires frames, breaking our one-shot nsSVGRenderingObservers setup). r+sr=roc
...
--HG--
extra : rebase_source : 48ab3b34460f5908bcec5c3e15a5d12f71496579
2009-01-22 14:02:40 +13:00
L. David Baron
f52024b5bb
Some additional tests for 'rem' unit from css3-values. (Bug 472195)
2009-01-20 13:58:48 -08:00
Keith Rarick
5d54fa9735
Implement 'rem' unit from css3-values. (Bug 472195) r+sr=dbaron
2009-01-20 13:58:48 -08:00
Martijn Wargers
b66c42bcc8
Bug 166591 - marquee created dynamically (e.g. innerHTML) is not rendered, r+sr=bzbarsky
2009-01-20 15:58:44 +01:00
Robert O'Callahan
af09f1fee0
Bug 462593. Cancel all outstanding font loads when the presshell is torn down. r=jdaggett
2009-01-19 22:21:29 +13:00
L. David Baron
d4123f85dc
Make nsROCSSPrimitiveValue store ident values as nsCSSKeyword rather than nsIAtom*. (Bug 474712) r+sr=bzbarsky
2009-01-22 17:28:14 -08:00
L. David Baron
6817e9a3b4
Eliminate all callers to forms of nsROCSSPrimitiveValue::SetIdent other than the one taking nsCSSKeyword. (Bug 474712) r+sr=bzbarsky
2009-01-22 17:28:14 -08:00
Robert O'Callahan
d0215bb493
Backed out changeset 9246fefef1cc
2009-01-17 23:58:34 +13:00
Robert Longson
45e74c86c5
Bug 472135. Avoid re-getting the target marker frame in nsSVGMarkerProperty::DoUpdate --- that leads to infinite loops. Update things lazily instead via fake style changes. r+sr=roc
...
--HG--
extra : rebase_source : f90519e06842d6301e3a27eddb0cddd300b62db2
2009-01-16 21:20:29 +13:00
Michael Ventnor
f9700e5ffb
Bug 472772. Introduce a separate combobox-text color because some GTK themes need it. r+sr=roc
...
--HG--
extra : rebase_source : 6e53173e0443d70b36ccbb9e90b60d573ed595d6
2009-01-16 21:18:49 +13:00
L. David Baron
3259b6ec8d
Avoid building user font set when handling units involving font metrics in media query expressions. (Bug 473892) r+sr=bzbarsky
2009-01-16 19:44:21 -08:00
L. David Baron
dcfad41f30
Avoid recursion when handling mNegations in CalcWeight. (Bug 473908) r+sr=bzbarsky
2009-01-16 19:44:21 -08:00
L. David Baron
4687ab4bb6
Avoid recursion after parsing CSS comments. (Bug 473914) r+sr=bzbarsky
2009-01-16 19:44:21 -08:00
L. David Baron
4dc922bd27
Remove handling of comments inside CSS url() tokens. (Bug 473914) r+sr=bzbarsky
2009-01-16 19:44:20 -08:00
Zack Weinberg
53d11a70cc
Bug 473720: don't treat a parse error in a known CSS @-rule as an unknown @-rule r+sr=dbaron
2009-01-16 19:44:20 -08:00
Jeff Walden
9157a66992
Bug 473911 - Crash due to too much recursion in nsCSSDocumentRule::URL::~URL. r+sr=dbaron
2009-01-16 15:33:57 -08:00
L. David Baron
1f540470b0
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
aa7f1a79c3
Put nsIDOMNSCSS2Properties in its own file to reduce risk of bumping the IID of the wrong interface. (Bug 473418) r+sr=jst
...
--HG--
rename : dom/public/idl/css/nsIDOMCSS2Properties.idl => dom/public/idl/css/nsIDOMNSCSS2Properties.idl
2009-01-16 13:32:09 -08:00
L. David Baron
58a76651df
Recheck media queries when changing text zoom since em units have changed. (Bug 473400) r+sr=bzbarsky
2009-01-16 13:32:08 -08:00
Neil Rashbrook
2ba9a14627
Bug 473933 Fix crash exposed by regression from bug 441359 r+sr=sicking
2009-01-16 20:52:04 +00:00
Dave Camp
f130a2f49c
Bug 441359: Check script and css loads against the classifier. r+sr=jonas
2009-01-13 23:13:48 -08:00
Dave Camp
52cc67fd56
Backed out changeset 44890ee1d15f for leaks
2009-01-13 02:22:59 -08:00
Dave Camp
3ac023a8d9
Bug 441359: Check script and css loads against the classifier. r+sr=jonas
2009-01-12 21:52:00 -08:00
Benjamin Smedberg
c0b8dd79be
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.
--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
Benjamin Smedberg
507daffc50
Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal.
2009-01-09 11:35:24 -05:00
Benjamin Smedberg
b0f322f21c
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
John Daggett
79a2d5f06d
change crashtest for 472237 to use local font
2009-01-08 17:36:24 +09:00
John Daggett
6261fd4014
Bug 472237 - check for null user font set before using. r+sr=dbaron
2009-01-07 13:45:41 +09:00
Boris Zbarsky
0695cee3d1
merge backout of bug 437366.
2009-01-05 17:05:03 -05:00