Commit Graph

3294 Commits

Author SHA1 Message Date
Markus Stange
4398b659b8 Bug 459708 - Remove -moz-appearance values "radio-small" and "checkbox-small", r=roc 2008-11-03 14:12:59 +01:00
Boris Zbarsky
b031d1bb8c Bug 454578. Load the quirk stylesheet separately from the general UA stylesheet, so it can be sensibly enabled/disabled in style sets. r+sr=dbaron 2008-11-02 21:29:51 -05:00
Robert O'Callahan
747afbca67 Bug 460240. box-shadow style changes sometimes need a REFLOW hint, so ensure we don't return prematurely with VISUAL before we check the box-shadow styles. r+sr=dbaron 2008-11-03 13:58:46 +13:00
L. David Baron
5fb743947b Correct mochitest for bug 461266. 2008-11-02 13:14:06 -08:00
L. David Baron
4a237eb465 Don't eat up too much when we hit an error in the last media query in a list. (Bug 461266) r+sr=bzbarsky 2008-11-02 11:44:56 -08: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
Mats Palmgren
0143eb7353 Bug 461239. Be a bit more careful with unsigned arithmetic. r+sr=bzbarsky 2008-10-29 13:40:04 -07:00
John Daggett
40f64ca9de Bug 458861. Validate TrueType headers before activating downloaded font. r=roc, sr=vlad,roc 2008-10-29 11:09:50 -07:00
L. David Baron
f2ee7b15f0 Add nsCSSProps::PropHasFlags to address bzbarsky's review comments. (Bug 461731) r+sr=bzbarsky 2008-10-27 10:55:51 -07:00
L. David Baron
869bc0c707 Make a CSS property bit for whether serialized value lists should use commas. (Bug 461731) r+sr=bzbarsky 2008-10-27 10:55:47 -07:00
Zack Weinberg
2f71703a84 Bug 228856 - [FIX] \0 in CSS is ignored; r+sr=dbaron 2008-10-23 18:29:24 +02:00
Peter Van der Beken
579fe3ede9 Fix for bug 460512 (Avoid AddRef/Release in scriptable helper methods for NodeList). r/sr=bz. 2008-10-22 16:31:14 +02:00
L. David Baron
be30aedd5b Add a preference for visited link support. (Bug 147777) r+sr=bzbarsky 2008-10-21 09:15:03 +02:00
Boris Zbarsky
900f6e646f Bug 460323. Do a better job of maintaining our invariants. r+sr=peterv 2008-10-20 16:33:03 -04:00
Boris Zbarsky
41c5ae0633 Bug 460664. Reset prop inheritance should skip first-line even if the whole struct is inheriting. r+sr=dbaron 2008-10-20 12:14:25 -04:00
L. David Baron
772159b43e Fix bustage. (Bug 460440) 2008-10-20 14:20:10 +02:00
L. David Baron
f220d33702 Convert tabs to spaces. 2008-10-20 14:07:09 +02:00
L. David Baron
d06d163f83 Fix failure to propagate aInherited result of nsRuleNode::CalcLength. (Bug 460440) r=kschwarz sr=bzbarsky 2008-10-20 14:07:09 +02:00
L. David Baron
cb00b7c8e0 Remove additional chunk of code that should have been removed in bug 238072. (Bug 460029) r+sr=bzbarsky 2008-10-20 14:07:08 +02:00
Daniel
78ba57d163 Bug 458588 - remove uses of -moz-outline* and drop the aliases afterwards; m-c part; r=(gavin.sharp + myk) sr=bzbarsky 2008-10-18 00:46:15 +02:00
Mats Palmgren
314219e0f0 Crashtest for bug 456196, by Martijn Wargers <martijn.martijn@gmail.com>. 2008-10-17 10:13:34 +02:00
Mats Palmgren
d7b18eed7d Use iterative algorithms when cloning and deleting lists. b=456196 r+sr=dbaron 2008-10-17 10:13:16 +02:00
Simon Montagu
2c9f74ad6c Bug 453468: fix regression in wrap attribute in textareas from bug 99457. r+sr=dbaron 2008-10-16 14:34:10 -07:00
Daniel
8278c513eb Bug 457208 - Useless border rules for input[type=image] in quirk.css; r+sr=dbaron 2008-10-16 03:28:37 +02:00
Boris Zbarsky
d9f89adc9c No need to have virtual methods on nsCSSStyleSheetInner. There's only one such class. r+sr=dbaron 2008-10-15 16:24:45 -04:00
Boris Zbarsky
df41d1db20 Bug 458381. The empty string should represent the null namespace even for the default @namespace rule (no prefix case). r+sr=dbaron 2008-10-15 16:23:21 -04:00
Markus Stange
85e0b205be Bug 450939 - Add -moz-window-shadow CSS property, r+sr=dbaron 2008-10-14 16:44:25 +02:00
L. David Baron
e59e69dd3b Fix issues with parsing of media query lists that have bad queries in them. (Bug 454226) r+sr=bzbarsky 2008-10-11 20:49:42 -04:00
Arpad Borsos
c72ef7d248 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +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
L. David Baron
58c68f214a Handle serialization of inherit and -moz-initial for shorthand properties correctly, and refuse to serialize most unspecifiable cases of shorthands. (Bug 160403) r+sr=bzbarsky 2008-10-07 15:10:20 -07:00
L. David Baron
4ec363bfc8 Add CSS_PROPERTY_DIRECTIONAL_SOURCE property flag. (Bug 160403) r+sr=bzbarsky 2008-10-07 15:10:19 -07:00
L. David Baron
16f9ced174 Add a flags table for CSS properties. (Bug 160403) r+sr=bzbarsky 2008-10-07 15:10:19 -07:00
L. David Baron
42047643c7 Fix warnings about breaking strict aliasing rules by making mChildren a union. (Bug 458813) r+sr=bzbarsky 2008-10-07 15:10:19 -07:00
L. David Baron
01883bba6f Fix warnings about CascadeSheetRulesInto being declared but not defined. (Bug 458813) r+sr=bzbarsky 2008-10-07 15:10:19 -07:00
Boris Zbarsky
c0a57d4047 Bug 456484. Kids of an inline-block that has overflow:'something other than visible' should not necessarily shrink-wrap. r+sr=roc 2008-10-07 14:53:22 -04:00
Boris Zbarsky
8ca556e440 Bug 452969. Drop native theming for controls that inherit user-specified values. r+sr=dbaron 2008-10-07 14:53:22 -04:00
Justin Dolske
a9f5276cf3 Bug 448909 - Need more controls WHATWG Video tag. r=mconnor, r=bz 2008-10-01 01:00:22 -07:00
Zack Weinberg
2d3209e41d Bug 450652 – Style system changes to support CSS3 border-radius – basic test cases (part 3) [r+sr=dbaron] 2008-10-01 00:52:12 -05:00
Zack Weinberg
7214904bcf Bug 450652 – Style system changes to support CSS3 border-radius – parser changes (part 2) [r+sr=dbaron] 2008-10-01 00:51:40 -05:00
Zack Weinberg
f21ce60ac3 Bug 450652 – Style system changes to support CSS3 border-radius – data structures for elliptical borders (part 1) [r+sr=dbaron] 2008-10-01 00:50:52 -05:00
John Daggett
7f9bbec2c9 Bug 441473. Adding new files. 2008-10-01 12:04:10 +09:00
John Daggett
37c61248d6 Bug 441473. Implement user font set object. r+sr=roc 2008-10-01 12:01:53 +09:00
Robert O'Callahan
fa9c29cdcd Bug 455984. Rework gradient and pattern code to use nsReferencedElement and nsSVGRenderingObservers, so they observe changes to the ID-element-map properly and propagate invalidations correctly (and with simpler code too). r=longsonr,sr=mats 2008-10-01 13:51:05 +13:00
Daniel
02e96ca633 Bug 433065 - remove support for -moz-pre-wrap. r=dbaron sr=bz 2008-10-01 01:49:47 +02:00
Daniel
c473566849 Bug 413141 - drop -moz-opacity alias. r+sr=dbaron 2008-10-01 01:16:52 +02:00
Robert O'Callahan
4fc9cfd0c6 Backing out bug 455984 to see if it fixed Tp crashes 2008-10-01 00:28:20 +13:00
Robert O'Callahan
4fdd181cd0 Bug 455984. Rework gradient and pattern code to use nsReferencedElement and nsSVGRenderingObservers, so they observe changes to the ID-element-map properly and propagate invalidations correctly (and with simpler code too). r=longsonr,sr=mats 2008-09-30 21:47:20 +13:00
Boris Zbarsky
562d828fdd Bug 433616 part 1. Make it possible to create a document viewer with no parent widget or container, and make various code saner about handling null document/prescontext/documentviewer containers. r=roc, sr=jst 2008-09-28 15:14:28 -04:00
Boris Zbarsky
9599df476b Backing out changesets 2ea77fa990af, 7d2d8869e73c, 93441e4f521e, 43d2ee100f3b, a2d84821ea71 to see whether they're causing the Windows Txul or Mac Tp regressions 2008-09-29 08:51:29 -04:00
Boris Zbarsky
a6aec54eaf Bug 433616 part 1. Make it possible to create a document viewer with no parent widget or container, and make various code saner about handling null document/prescontext/documentviewer containers. r=roc, sr=jst 2008-09-28 15:14:28 -04:00
Keith Schwarz
2e601ee1e4 Bug 455138 - Bug 435293 landed failing tests; r=(dbaron + roc) sr=dbaron 2008-09-22 20:59:37 +02:00
Keith Schwarz
20d7f32cda Bug 456213 - -moz-transform matrix function with percentages confuses X and Y translate components; r+sr=dbaron 2008-09-21 07:14:52 +02:00
Neil Rashbrook
898fd2b8d9 Remove <CR>s (to fix cross-compilation bustage) rs=bsmedberg,gavin,roc,smontagu b=372802 2008-09-20 20:45:25 +01:00
Serge Gautherie
6a6b76edde Bug 455265 - Default Y parameter for -moz-transform:translate differs from Apple's proposal; additional comment nit; r+sr=dbaron 2008-09-20 18:55:27 +02:00
Keith Schwarz
5c11f2e697 Bug 455265 - Default Y parameter for -moz-transform:translate differs from Apple's proposal; r+sr=dbaron 2008-09-20 18:52:12 +02:00
Keith Schwarz
2277ec5e77 Bug 455445 - -moz-transform skew() function should accept two parameters, and second should default to zero; r+sr=dbaron 2008-09-20 18:39:12 +02:00
Keith Schwarz
9b9583a852 Bug 455403 - -moz-transform translate functions result in incorrect origin; v5; r+sr=dbaron 2008-09-20 16:39:31 +02:00
Arpad Borsos
7c8fe9b1d4 Bug 451909 - kill MOZ_XUL_APP now that all apps set it; files removal; r=ted.mielczarek 2008-09-20 15:54:40 +02:00
Arpad Borsos
18b833c041 Bug 452797 - Clean up unused variables in layout/; v6; r+sr=roc 2008-09-20 15:42:03 +02:00
L. David Baron
eacac09939 Backed out changeset aab6b12f4a2b (Bug 455403) due to reftest failures from landing patches in the wrong order, and unexplained reftest hangs. 2008-09-19 16:04:34 -07:00
Keith Schwarz
d0300d2843 Fix incorrect composition of translations with other transforms by making matrix multiplication code clearer, clarifying which matrices are for column vectors and which are for row vectors, and fixing incorrect matrix type conversions. (Bug 455403) r+sr=dbaron 2008-09-19 10:14:54 -07:00
Markus Stange
7d14ac6764 Bug 448767 - Add -moz-system-metric(mac-graphite-theme), r=vlad sr=dbaron 2008-09-17 18:23:58 +02:00
Markus Stange
cc968bd29f Bug 449833 - Add platform colors -moz-mac-chrome-active and -moz-mac-chrome-inactive, r=josh sr=roc 2008-09-17 13:45:30 +02:00
Arpad Borsos
ed2268548d Bug 454475 - Fix "unhandled enumeration value" warnings in layout/; r+sr=roc 2008-09-16 13:25:35 +02:00
Markus Stange
6aff4d526f Bug 439354 - OS X toolbar background doesn't have a good gradient, part 1 / 3, r=hwaara sr=roc 2008-09-16 10:21:06 +02:00
Arpad Borsos
87878e68eb Bug 454766 - Add suggested parentheses to layout/; r+sr=roc; (with nits by sgautherie) 2008-09-15 17:40:25 +02:00
Arpad Borsos
1e410ca73d Bug 451909 - kill MOZ_XUL_APP now that all apps set it; 'jar.mn' part; r=ted.mielczarek 2008-09-15 15:19:32 +02:00
Keith Schwarz
48a87265ac Bug 435293. Implement CSS transforms. r=dbaron,r+sr=roc 2008-09-13 21:42:11 +12:00
L. David Baron
b5a478e061 Ensure we always skip to the next close parenthesis if a media query expression parse fails. (Bug 454227) r+sr=bzbarsky 2008-09-12 20:45:37 -07:00
L. David Baron
f24f5bc2b0 Comments about use of foreground color. 2008-09-12 20:45:37 -07:00
L. David Baron
1562ab9bb4 Use consistent terms in comments describing nsStyleCoord values (length -> coord). (Bug 443057) r+sr=bzbarsky 2008-09-12 20:45:37 -07:00
L. David Baron
67b916836d Convert text-shadow and box-shadow storage from nsStyleCoord to nscoord. (Bug 443057) r+sr=bzbarsky 2008-09-12 20:45:37 -07:00
L. David Baron
9272a92fdf Convert border spacing storage from nsStyleCoord to nscoord. (Bug 443057) r+sr=bzbarsky 2008-09-12 20:45:37 -07:00
L. David Baron
703aefde59 Convert outline offset storage from nsStyleCoord to nscoord. (Bug 443057) r+sr=bzbarsky 2008-09-12 20:45:37 -07:00
L. David Baron
425e04d23f Fix use of incorrect variable, and harmless but valgrind-noisy use of variables in incorrect order. (Bug 455093) 2008-09-12 20:45:37 -07:00
Zack Weinberg
0299bad5bb Bug 453916: treat transparency strictly as a special case of color alpha. r+sr=dbaron 2008-09-12 08:35:53 -07:00
Robert O'Callahan
b52d3794d5 Bug 450340. Support SVG mask/clip-path/filter CSS properties applied to non-SVG content. r=longsonr,sr=mats 2008-09-11 12:24:16 +12:00
Robert Kaiser
720062e552 bug 454513 - browser_bug453896.js fails on all SeaMonkey unit test boxes, remove event listeners added by the tests when they aren't needed any more, r=dbaron 2008-09-11 02:07:52 +02:00
Zack Weinberg
d6733549b7 bug 452518: move private functions out of nsCSSScanner.h. r+sr=dbaron 2008-09-09 21:38:29 -07:00
Zack Weinberg
dbb4fb027d bug 452278: CSSParserImpl::InitScanner() never fails; remove checks. r+sr=dbaron 2008-09-09 21:38:26 -07:00
Zack Weinberg
f327c524bd bug 452275: eliminate aErrorCode argument to most nsCSSScanner/nsCSSParserImpl functions. r+sr=dbaron 2008-09-09 21:38:14 -07:00
Boris Zbarsky
c4282496de Bug 449171. Fix bogus assertion. r+sr=dbaron 2008-09-09 21:39:38 -04:00
Boris Zbarsky
e8ffa77fe0 Fixing orange. Bug 183348 2008-09-09 16:16:21 -04:00
Boris Zbarsky
2da11fa844 Bug 183348 followup: rename the args in the header too. 2008-09-09 14:32:27 -04:00
Boris Zbarsky
e1f03a883b Bug 183348. Fix cloning of sheets with @import rules. Also fixes bug 290018, bug 436261, bug 444723, bug 445415. r+sr=dbaron 2008-09-09 14:08:11 -04:00
Ted Mielczarek
ff7706a544 bug 447642 - get rid of --disable-mochitest, replace MOZ_MOCHITEST with ENABLE_TESTS. r=bsmedberg 2008-09-09 13:59:11 -04:00
Dave Townsend
4db79cc0f9 Bug 391728: No placeholder for disabled plugins. r=jst, r=josh, sr=bz 2008-09-09 16:43:21 +01:00
L. David Baron
8b1fb3a9e2 Flush view manager's delayed resize when flushing layout. (Bug 453896) r+sr=bzbarsky 2008-09-09 06:43:10 -07:00
timeless@mozdev.org
aba312b125 merging unrelated change (three of two)
to fix Bug 454186
SM crashes when try to download file [@ nsString::ToInteger - nsTreeBodyFrame::PaintProgressMeter]
2008-09-08 16:02:33 +02:00
timeless@mozdev.org
2cf6a7ee79 Backed out changeset 54215f2cbc66
to fix Bug 454186
SM crashes when try to download file [@ nsString::ToInteger - nsTreeBodyFrame::PaintProgressMeter]
2008-09-08 16:00:32 +02:00
L. David Baron
210a4684ba Correctly handle window resizes when one dimension is zero. (Bug 453759) r+sr=roc 2008-09-08 06:41:36 -07:00
Arpad Borsos
95c1e86113 Bug 452797 - Clean up unused variables in layout/; r+sr=roc 2008-09-06 20:38:31 +02:00
L. David Baron
9ff382b51d Change evaluation of media queries like (width) where actual values are lengths; treat zero lengths as false in such cases, per http://lists.w3.org/Archives/Public/www-style/2008Aug/0190.html and spec clarification. (Bug 453759) r+sr=bzbarsky 2008-09-06 07:04:28 -07:00
L. David Baron
4627664235 Make min-/max- prefixed media features without values be parse errors, per http://lists.w3.org/Archives/Public/www-style/2008Sep/0002.html . (Bug 453759) r+sr=bzbarsky 2008-09-06 07:04:28 -07:00
L. David Baron
b4c73c1583 Update to new parsing rules for grid media query per http://lists.w3.org/Archives/Public/www-style/2008Aug/0191.html . (Bug 453759) r+sr=bzbarsky 2008-09-06 07:04:28 -07:00
Zack Weinberg
1ebad2d826 Bug 441367 - reduce repetitive code in nsRuleNode.cpp with SetDiscrete() and SetFactor() helper functions. r+sr=dbaron 2008-09-06 06:56:23 -07:00
Boris Zbarsky
97dd836327 Bug 452238. Remove unused imports collection code. r+sr=dbaron 2008-09-05 21:10:35 -04:00
Boris Zbarsky
8e8b07b643 Bug 451053. Move nsMutationGuard into a shared location and use it to assert some invariants. r+sr=sicking 2008-09-05 13:39:19 -04:00
Serge Gautherie
792daaea3b Bug 78388 - Fix uses of |new nsAutoString / nsCAutoString| in RuleProcessorData, r+sr=dbaron 2008-08-28 17:38:34 +02:00
stefanh@inbox.com
8bc53a2303 Backing out bug 439354 (changesets a2709097171f and b54001303198) and the dependent bug 449833 (changeset 2b246e03252b) due to perf regressions on Leopard talos boxen. 2008-08-27 21:40:25 +02:00
Markus Stange
89f9b4f8ce Bug 449833 - Need a platform color for chrome background on Mac OS X. r=josh, sr=roc. 2008-08-27 18:07:36 +02:00
Markus Stange
fa433f6235 Bug 439354 - OS X toolbar background doesn't have a good gradient. Part 1 (widget). r=hwaara, sr=roc. 2008-08-27 17:45:24 +02:00
Benjamin Smedberg
e67d75888e Bug 445570 - Mark CSSToken::mIdent heap autostring as we-know-what-we're-doing, r=dbaron 2008-08-27 10:58:50 -04:00
Zack Weinberg
c475a8c8bd Bug 389406 – initial value for 'quotes' property is stored incorrectly and not reachable by -moz-initial; r+sr=dbaron 2008-08-19 10:18:58 -04:00
Kai Liu
0dccff6dc5 Allow theme CSS to distinguish between themed and non-themed in Windows - bug 431666 r=vlad r=dbaron 2008-08-18 10:33:08 -07:00
Boris Zbarsky
e46c14183f Bug 449447. Reuse the caching GetNthIndex for first/last/onlyChild selectors 2008-08-18 12:47:12 -04:00
Robert O'Callahan
edc33b1edc Bug 238072. Make generated content take the normal frame construction path. Relanding with changes so that counter and quote nodes are initialized after their frames are available, more like the old code. r+sr=dbaron,bzbarsky 2008-08-18 13:16:42 +12:00
Rob Arnold
23698fa904 last set of y1/y4 tests in acid3 test 46 (media queries) fail on Windows - bug 448132 r=vlad 2008-08-14 09:48:09 -07:00
Kai Liu
a47a75abf0 Bug 448704 – Eliminate <gripper> as an independent element. r=vlad/dbaron/enndeakin 2008-08-13 08:15:27 +02:00
Rob Arnold
a99f6d56c4 Implement Aero Glass effect support - bug 418454 r=vlad r=roc 2008-08-12 17:44:14 -07:00
Robert Longson
0cc419aa45 bug 302971 - Scientific notation in stroke-width doesnt work r+sr=dbaron 2008-08-12 15:02:22 +01:00
Robert O'Callahan
b2c0de7471 Bug 230555. Support white-space:pre-line. r+sr=dbaron 2008-08-12 20:31:56 +12:00
Simon Montagu
eb95bdb67a Bug 449555. Disable word-wrap for single-line widgets, r+sr=roc 2008-08-11 18:16:41 +03:00
Zack Weinberg
4a312173f9 Bug 441469. Implement parsing of @font-face rules. r+sr=dbaron 2008-08-10 22:13:49 +01:00
Dave Townsend
0aa1ee1345 Backed out Bug 441469 due to Tp regressions 2008-08-10 00:07:59 +01:00
Zack Weinberg
af751d9b0a Bug 441469. Implement parsing of @font-face rules. r+sr=dbaron 2008-08-07 19:15:40 -04:00
Robert O'Callahan
e77bdf3d25 Bug 238072 backout 2008-08-07 22:22:08 +12:00
Robert O'Callahan
dcf51d2a34 Bug 238072. Rework generated content support to match CSS 2.1, making generated content take the normal frame construction path so supporting any style applied to it (including 'position', 'float', etc). r+sr=bz,r=dbaron 2008-08-07 13:18:24 +12:00
L. David Baron
9056cf9ae3 Don't printf CSS errors to standard output. (Bug 449429) r+sr=bzbarsky 2008-08-06 10:58:14 -07:00
L. David Baron
c155fd6771 Assert when we set the quirk style sheet after building rule cascades. (Bug 448281) r+sr=bzbarsky 2008-08-06 10:42:56 -07:00
L. David Baron
6512c51303 Only rebuild rule cascades on medium feature change if they've already been built before. (Bug 448281) r+sr=bzbarsky 2008-08-06 10:42:56 -07:00
Robert O'Callahan
ab2b084996 Bug 447567. Instead of brutally wiping out effects properties whenever the style context changes for an SVG frame (which wouldn't work for non-SVG frames), create a new style change hint to handle it. r=longsonr,sr=dbaron 2008-08-06 12:55:07 +12:00
Rob Arnold
a0b6a9f699 -moz-system-metric selector doesn't update when the theme changes - bug 447045 r+sr=dbaron 2008-08-05 13:02:43 -07:00
L. David Baron
debed4846b Make the -moz-column-rule-color test not assume that inputs have the same 'color' as divs. (Bug 271586) r=Ventnor 2008-08-04 16:10:05 -07:00
L. David Baron
7982784b57 Merge Quotes and CounterData storage types into ValuePairList. (Bug 322475) r+sr=bzbarsky 2008-08-04 15:15:11 -07:00
L. David Baron
3498039f41 Untabify the few lines with tabs in nsStyleStruct.h 2008-08-04 15:15:11 -07:00
L. David Baron
758fecccf0 Label types of nsStyleCoord and nsStyleSides. b=443057 r+sr=bzbarsky 2008-08-04 15:15:11 -07:00
Serge Gautherie
876d746d83 Bug 448110 – |--disable-svg| does not build
p=sgautherie Av1 r/sr=jonas Cv1 r=dbaron
2008-08-01 22:23:27 +01:00
Boris Zbarsky
375ecaad19 Bug 448161. Don't crash when getting computed style for a link that's not in the document 2008-07-31 17:16:56 -07:00
Chris Double
535288ced1 Bug 447639. Update <video> and <audio> elements for spec changes, and add tests. r+sr=roc 2008-07-29 21:55:27 -07:00
Ian Neal
d4c933c660 Bug 447776 – Hang with word-wrap: break-word and width: 0px
with testcase and crashtests
p=smontagu r/sr=roc
2008-07-27 17:43:07 +01:00
L. David Baron
06471ec4f7 Oops, used the wrong todo function. 2008-07-26 12:56:49 -07:00
L. David Baron
c1a0b63c6c Mark two test items as known to fail on Windows; failure filed as bug 448132. 2008-07-26 10:58:24 -07:00
L. David Baron
8b023b33e7 Fix a bunch of issues relating to dynamic changes of border images. (Bug 445810) r=robarnold sr=bzbarsky 2008-07-26 09:14:49 -07:00
L. David Baron
a412906fd9 Handle effects of medium feature changes on XBL style sheets. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:49 -07:00
L. David Baron
b94fbe6dd3 Fold DoParseMediaList into ParseMediaList, since it is no longer necessary now that we don't do special parsing for media lists in HTML. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:49 -07:00
L. David Baron
6debcd0db4 Tests for css3-mediaqueries. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:49 -07:00
L. David Baron
b9b034b9b5 Fix media queries calculation of screen size for at least multi-monitor mirroring cases (where test_media_queries fails). (Bug 156716) r+sr=roc 2008-07-26 09:14:49 -07:00
L. David Baron
2e85f85f78 Implement Media Queries, part 4: infrastructure for dynamic change handling at the pres context level. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:48 -07:00
L. David Baron
8cd01e114a Implement media queries, part 3: infrastructure for dynamic change handling at the rule processor and style set level. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:48 -07:00
L. David Baron
907424839d Remove pointless null checks that are extremely unlikely to fail. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:48 -07:00
L. David Baron
b8715023f7 Implement Media Queries, part 2: infrastructure for dynamic change handling at the rule cascade and style sheet level. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:48 -07:00
L. David Baron
62b65d2845 Implement Media Queries. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:48 -07:00
L. David Baron
0169af2ccf Make ParsePositiveVariant restrict integers too, which affects existing call for -moz-column-count. (Bug 156716) r=bzbarsky sr=roc 2008-07-26 09:14:48 -07:00
L. David Baron
593912e502 Don't do special parsing for media lists in HTML: match parentheses, even across commas, and allow media queries through. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:48 -07:00
Simon Montagu
0185f285af Support for word-wrap CSS property. Bug 99457, r+sr=dbaron, roc 2008-07-24 10:16:18 +03:00
Boris Zbarsky
7759eed086 Bug 416317. Implement querySelector(All) API. r=dbaron, sr=jst 2008-07-21 17:55:52 -07:00
L. David Baron
42c45fec0f Add bug number (446226) for todo tests from bug 325064. 2008-07-19 16:03:45 -07:00
Zack Weinberg
63dfaebf8b Change CSS parser to close constructs open at end-of-file by changing ExpectSymbol not to fail on EOF when expecting one of }, ), ], or ;. (Bug 325064) r+sr=dbaron 2008-07-19 15:52:09 -07:00
Michael Ventnor
d200b4c6a4 Bug 271586 – Implement CSS3 column-rule-*. r+sr=roc,dbaron 2008-07-19 12:38:25 +02:00
Zack Weinberg
a1072e86a3 Delete nsLayoutUtils::GetAbsoluteCoord(); fold logic into callers and simplify. (Bug 437335) r+sr=dbaron 2008-07-17 16:37:12 -07:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
7d3343e0fa Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold 2008-07-16 23:30:25 -07:00
L. David Baron
86c186dbd8 Backed out changeset 9b0b2391485c due to linker errors related to nsStyleStructInlines.h not being included enough. 2008-07-16 22:59:14 -07:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
269c2d355a Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold 2008-07-16 22:18:38 -07:00
Zack Weinberg
28a8588125 Remove eStyleUnit_Chars and the special cases for it throughout layout, and make ch units go through the normal eStyleUnit_Coord cases. (Bug 363706) r+sr=dbaron 2008-07-15 14:31:36 -07:00
Zack Weinberg
947cb5c85f Add .zeroOrAveCharWidth field to gfxFont::Metrics. Initialize it in all font backends. Use it when computing CSS 'ch' units, and make eStyleUnit_Chars and nsLayoutUtils::CharsToCoord unused. (Bug 363706) r=roc sr=dbaron 2008-07-15 14:31:36 -07:00
L. David Baron
b5fc0b40d0 Skip test for 439184 since it "times out". 2008-07-13 15:56:51 -07:00
L. David Baron
875c148d37 Avoid stack overflow by not using recursion to add the important rules. (Bug 439184.) r+sr=bzbarsky 2008-07-13 13:57:38 -07:00
L. David Baron
bb92a0b039 Make rule node children destruction happen in a queue from the root rule node (or root of the subtree being destroyed) rather than using recursion. (Bug 439184.) r+sr=bzbarsky 2008-07-13 13:57:38 -07:00
L. David Baron
f43140a296 Replace nsRuleList with a next sibling pointer on the rule node itself (saving one word in the normal linked list case, and wasting one in the hash table case). (Bug 439184.) r+sr=bzbarsky 2008-07-13 13:57:38 -07:00
L. David Baron
3b1ac9f515 Avoid stack overflow by not using recursion to add the important rules. (Bug 439184.) r=fantasai sr=bzbarsky 2008-07-13 13:57:38 -07:00
Martijn Wargers [mw22]
4f7a243307 Bug 441703 - "direction attribute of marquee should be case-insensitive (for selector matching)" [r+sr=dbaron] 2008-07-12 05:30:39 -05:00
Michael Ventnor
6317647cd2 Bug 444237 - "Crash with -moz-box-shadow: -moz-initial on input" [p=ventnor.bugzilla@gmail.com (Michael Ventnor) r+sr=dbaron] 2008-07-12 03:52:32 -05:00
Boris Zbarsky
19817e240e Bug 444838. Correctly stringify all tokens instead of asserting on some. r+sr=dbaron 2008-07-11 18:49:46 -04:00
Boris Zbarsky
8d14173742 Bug 433374. Fix bogus assert. r+sr=dbaron 2008-07-11 17:13:01 -04:00
Boris Zbarsky
3c8f942b1d Make sure to not call Pushback(-1) on EOF error conditions. Bug 422868, r+sr=dbaron 2008-07-11 17:02:16 -04:00
Boris Zbarsky
4d981f8c1d :root should only match the documentElement, not random nodes in
disconnected fragments.  Bug 422868, r+sr=dbaron
2008-07-11 17:01:22 -04:00
Ryan A. C
496f972497 Bug 426732 - implement -moz-nativelinktext, r=dbaron, sr=roc 2008-07-11 20:34:53 +02:00
Ryan A. C
08f210332e Backed out changeset 9718a9421ee3 2008-07-11 16:30:30 +02:00
Ryan A. C
999c32a6ee Bug 426732 - implement -moz-nativelinktext, r=dbaron, sr=roc 2008-07-11 16:23:26 +02:00
Chris Double
91826e2fd0 Bug 382267. Core implementation of the <video> and <audio> elements. r=jst,r+sr=roc 2008-07-09 20:22:20 +12:00
Mats Palmgren
23da00893f Always paint text-decoration:blink in non-dynamic (print/preview) contexts. b=153092 r+sr=roc 2008-07-08 18:18:32 +02:00
Michael Ventnor
b3e218a0a8 Bug 212633 - "Add support for CSS3 box-shadow" (parsing support) [p=ventnor.bugzilla@gmail.com (Michael Ventnor) r+sr=dbaron] 2008-07-07 19:56:52 -05:00
Daniel Holbert
4b5c0b5b3f comment-only typo fix: delcaration -> declaration 2008-07-03 14:28:39 -07:00
L. David Baron
125a18e0a9 Back out 0b1995eab10f due to mochitest failures on at least Windows. (Bug 363706) 2008-07-01 22:01:10 -07:00
Zack Weinberg
0cb6b35cce Add .zeroOrAveCharWidth field to gfxFont::Metrics. Initialize it in all font backends. Use it when computing CSS 'ch' units, and make eStyleUnit_Chars and nsLayoutUtils::CharsToCoord unused. (Bug 363706) r=roc sr=dbaron 2008-07-01 20:24:36 -07:00
Johnny Stenback
a2b4d665f6 Better handling of overflowing integer values. r+sr=roc@ocallahan.org, a=beltzner@mozilla.com 2008-07-01 15:46:12 -07:00
L. David Baron
a6eaf5d9f2 Backed out changeset f6b609b0af6e 2008-06-17 16:10:53 -07:00
Zack Weinberg
5a32b9d546 Add .zeroOrAveCharWidth field to gfxFont::Metrics. Initialize it in all font backends. Use it when computing CSS 'ch' units. (Bug 363706) r=roc sr=dbaron 2008-06-17 14:37:56 -07:00
Simon Montagu
9faa7d6380 Remove unnecessary argument from SetBidiEnabled. Bug 435856, r+sr=roc 2008-06-16 02:28:17 -07:00
Elika J. Etemad (fantasai) ext:(%2C%20Michael%20Ventnor%20%3Cventnor.bugzilla%40yahoo.com.au%3E)
940a66474d Make empty string in ^= $= *= attribute selectors match nothing (and check for ~= although it already works). (Bug 420245) r+sr=dbaron (tests) 2008-06-10 17:27:00 -07:00
Michael Ventnor
98d23dbe11 Make empty string in ^= $= *= attribute selectors match nothing (and check for ~= although it already works). (Bug 420245) r+sr=dbaron 2008-06-10 17:27:00 -07:00
L. David Baron
6bcc3a9a1f Count U+000C as a whitespace character for separating class attributes. (Bug 437915) r=bzbarsky sr=sicking 2008-06-10 17:27:00 -07:00
L. David Baron
0b369f2ea1 Remove unneeded (and not present in the proposed CSS3 float-displace property) border-box and padding-box values of -moz-float-edge. (Bug 432891) r+sr=roc 2008-06-05 16:06:34 -07:00
Christian Biesinger ext:(%2C%20Michael%20Ventnor%20%3Cventnor.bugzilla%40yahoo.com.au%3E)
36d201c8f8 Implement the computed value of text-shadow in the style system. (Bug 10713) r+sr=dbaron 2008-06-05 16:06:34 -07:00
Jesse Ruderman
381100987f Don't call SelectorMatches on document fragments (test). (Bug 437170) r+sr=bzbarsky 2008-06-05 16:06:34 -07:00
L. David Baron
6a16ea718e Don't call SelectorMatches on document fragments. (Bug 437170) r+sr=bzbarsky 2008-06-05 16:06:34 -07:00
Vladimir Vukicevic
977091d498 b=346189, children should optionally not affect size of XUL stack; r+sr=roc 2008-06-04 23:46:24 -07:00
L. David Baron
c91ce9a492 Backed out changeset cf005233ebad (text-shadow style system changes) due to mochitest crash on Windows (which I can reproduce on Windows). 2008-06-03 16:42:13 -07:00
Christian Biesinger ext:(%2C%20Michael%20Ventnor%20%3Cventnor.bugzilla%40yahoo.com.au%3E)
e3a5368590 Implement the computed value of text-shadow in the style system. b=10713 r+sr=dbaron 2008-06-03 15:25:31 -07:00
L. David Baron
e943265e81 Allow the initial value of -moz-user-select to be specified with 'auto'. b=432888 r+sr=bzbarsky 2008-06-03 15:25:31 -07:00
L. David Baron
07877d20da Implement :first-of-type, :last-of-type, and :only-of-type. b=128585 r+sr=bzbarsky 2008-06-02 20:17:35 -07:00
Daniel Glazman ext:(%20and%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
0474b185bc Implement :nth-child(), :nth-last-child(), :nth-of-type(), :nth-last-of-type(). b=75375 r+sr=bzbarsky 2008-06-02 20:17:35 -07:00
L. David Baron
8b2c14530a Make nsPseudoClassList capable of storing integer pairs for :nth-*(). b=75375 r+sr=bzbarsky 2008-06-02 20:17:35 -07:00
L. David Baron
1eef72cec5 Rename nsAtomStringList to nsPseudoClassList, since that's what it's for, and we want to make it more than just atoms and strings. Also remove an unused constructor. b=75375 r+sr=bzbarsky 2008-06-02 20:17:35 -07:00
L. David Baron
80ef4ff3cb Make outlines on inlines containing blocks outline the blocks. b=424236,270191 r+sr=roc 2008-06-02 15:52:25 -07:00
reed@reedloden.com
a6a6939f1e Bug 431309 - "Vista toolbar styles should have a -moz-win- prefix" (using the -moz-win- prefix) [p=kliu@mozilla.kailiu.com (Kai Liu) r+sr=roc a1.9=beltzner] 2008-05-08 02:29:38 -07:00
gavin@gavinsharp.com
17e2d1b9fe Bug 427045: Pull out correct toolbar colors in Vista themes (land hunk that was forgotten during the initial landing), patch by wesley-johnston@uiowa.edu, r=vlad, sr=roc, a=beltzner 2008-05-01 20:50:03 -07:00
gavin@gavinsharp.com
d51aa54eef Bug 429849: marquee text not on one line , part of this line on top and second part on bottom, patch by Martijn Wargers <martijn.martijn@gmail.com>, r+sr=roc, a=damon 2008-04-30 10:09:09 -07:00