Граф коммитов

2705 Коммитов

Автор SHA1 Сообщение Дата
dbaron%dbaron.org 8e49c04ba5 Remove eCSSUnit_Proportional and eStyleUnit_Proportional, which were used only for a removed feature. b=333352 r+sr=bzbarsky 2007-05-11 06:00:26 +00:00
dbaron%dbaron.org 6eec98ce81 Don't put null coords in nsStyleCoords when they have the same meaning as some other coord type. b=379741 r+sr=bzbarsky 2007-05-11 05:58:34 +00:00
joshmoz%gmail.com 16a83528b7 Use small control type for radio buttons and checkboxes in HTML. On Windows and Linux this has no effect because small and normal are the same thing, but it means we can differentiate on Mac OS X where they are not. b=380056 r/sr=roc 2007-05-09 19:17:18 +00:00
mats.palmgren%bredband.net bff6f902af Fix a cursor:-moz-initial assertion and include it in the mochitests. b=379951 r+sr=dbaron 2007-05-08 06:56:14 +00:00
mats.palmgren%bredband.net 918d64e75a Backing out bug 379906 to fix orange. 2007-05-08 06:25:04 +00:00
mats.palmgren%bredband.net 2e80f17a0e Fix an assertion when setting a 'quotes' property value. b=379906 r+sr=dbaron 2007-05-08 06:00:37 +00:00
mats.palmgren%bredband.net 1b1d8680bd Fix a cursor:-moz-initial assertion and include it in the mochitests. b=379951 r+sr=dbaron 2007-05-08 05:46:37 +00:00
joshmoz%gmail.com 1fa4552bcd remove support for NS_THEME_BUTTON_SMALL, fix up toolkit consumer. b=379542 r=cbarrett r=mano sr=roc 2007-05-08 01:20:11 +00:00
joshmoz%gmail.com d0bf8fc036 Differentiate between single line and multiline text fields/areas so that we can render them differently. On Mac OS X render multiline text areas as Aqua text areas. b=377331 r=smorgan sr=roc 2007-05-07 02:06:59 +00:00
dbaron%dbaron.org 99d85de49d Fix the description of the serialize+parse tests. 2007-05-05 17:06:49 +00:00
bzbarsky%mit.edu 31b092b86f Comment out test for now until I can debug it. Bug 379809. 2007-05-05 07:05:18 +00:00
bzbarsky%mit.edu 821c53fe47 Don't apply user stylesheets to native anonymous content. Bug 286895, r+sr=dbaron 2007-05-05 06:47:09 +00:00
bzbarsky%mit.edu 6bfe4d1b01 Make computed style handle eStyleUnit_Chars. Bug 371043, r+sr=dbaron 2007-05-05 06:09:50 +00:00
bzbarsky%mit.edu 8f5c7263d5 Make computed style handle "normal" for line-height by computing an actual
numeric height.  Bug 371041, r+sr=dbaron
2007-05-05 05:30:10 +00:00
dbaron%dbaron.org e4c1237c80 Fix bad string comparison preventing 'none' and 'initial' values of 'counter-increment' and 'counter-reset' from being parsed correctly. b=379555 r+sr=dbaron Patch by Daniel Holbert <dholbert@mozilla.com>. 2007-05-04 00:05:16 +00:00
dbaron%dbaron.org 847bd485ed Add support for -moz-intrinsic, -moz-min-intrinsic, -moz-shrink-wrap, and -moz-fill for width, min-width, and max-width. b=311415 r+sr=bzbarsky 2007-05-03 23:11:02 +00:00
bzbarsky%mit.edu e1c2d5d036 When we have a url() value that doesn't give us an imgIRequest (e.g. couldn't
create nsIURI, URI load blocked by security manager, etc), make sure to still
pick up the fallback value for cursor.  Bug 379440, r+sr=dbaron
2007-05-03 06:33:13 +00:00
bzbarsky%mit.edu 27fdff6596 Propagate a stylesheet's principal to the URI and Image CSSValues derived from
that sheet.  Bug 377091, r+sr=dbaron
2007-05-03 01:15:54 +00:00
bzbarsky%mit.edu 06342c9a30 Fix assert to not fire when it shouldn't. Bug 379405, r+sr=dbaron 2007-05-02 02:25:50 +00:00
bzbarsky%mit.edu b1e55b927c Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers of
GetShellAt(0) to using this API.  Bug 378780.  API introduction part by me,
r+sr=jst.  Mass-changes done by taras using squash, r+sr=me
2007-05-01 22:24:25 +00:00
bzbarsky%mit.edu d979f584e1 Stylesheets should know what their principal is, and it should be based on the
URI the sheet was loaded from, its certificate (if any) and the loader
principal, not just on the page the sheet is being applied to.  Propagate this
principal as the loading principal to @import loads from stylesheets.  Change
sheet access checks to use this principal instead of the sheet URI.  Bug
221428, r+sr=peterv
2007-05-01 19:26:15 +00:00
bzbarsky%mit.edu 350cb2d547 This test passes now. 2007-05-01 04:31:06 +00:00
bzbarsky%mit.edu 88f47f8ebe Fixing parsing of opacity components of rgba() and hsla() that are out of the
0 <= x <= 1 range.  Bug 379316, r+sr=dbaron
2007-05-01 03:50:31 +00:00
joshmoz%gmail.com 6284f604e7 remove duplicate line of a CSS rule from forms.css. r/sr=dbaron 2007-05-01 01:51:47 +00:00
dbaron%dbaron.org 5478dd7273 Reduce #include dependencies on style system headers: reduce what nsRuleData.h pulls in. b=379089 r+sr=bzbarsky 2007-04-28 16:03:15 +00:00
bzbarsky%mit.edu 7b47f9c52e Implement "content: none". Bug 378535, r+sr=dbaron 2007-04-27 04:43:06 +00:00
dbaron%dbaron.org 33f47f8c84 Add test for computed style on elements with frames as well. 2007-04-25 23:27:36 +00:00
benjamin%smedbergs.us 3fb4912f5d Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me 2007-04-23 14:22:04 +00:00
bzbarsky%mit.edu 267d907a5b min-width/height should not affect computed max-width or max-height. Both of
them should affect computed width and height, though.  Bug 371042, r+sr=dbaron
2007-04-23 07:04:33 +00:00
bzbarsky%mit.edu 46c7feaded Round instead of truncating when converting a percentage color into an
integer.  Bug 340613, r+sr=dbaron
2007-04-22 22:03:30 +00:00
bzbarsky%mit.edu 0eca467c2e Move the Background struct to its new rightful place. Bug 378245, r+sr=dbaron 2007-04-21 05:40:13 +00:00
dbaron%dbaron.org 6d10cd5a6b Test copy constructors of nsStyleStruct. 2007-04-21 00:17:35 +00:00
dbaron%dbaron.org 904dd421f8 A bunch of one-liners to fix bugs found by CSS mochitests. b=377731 r+sr=bzbarsky 2007-04-21 00:16:52 +00:00
bzbarsky%mit.edu ee773f7a7d Stop blocking the parser on CSS stylesheet loads. We still block script
execution on them, however.  Bug 84582, r+sr=sicking
2007-04-20 22:59:18 +00:00
bzbarsky%mit.edu 9856ffd009 Don't use the same pseudo-element name to mean two different things. Bug
377824, r+sr=dbaron
2007-04-20 21:27:02 +00:00
dbaron%dbaron.org ef9f14109c Fix setting of prereqs so it doesn't interfere with testing initial values properly. 2007-04-20 03:41:05 +00:00
dbaron%dbaron.org 13abd70351 Add tests for computed values. 2007-04-19 02:49:44 +00:00
dbaron%dbaron.org 3fb5378d97 Fix regression of background-position serialization. b=258080 r+sr=bzbarsky 2007-04-18 20:41:15 +00:00
dbaron%dbaron.org 140ebb271f Add comment explaining some of the test. 2007-04-17 18:57:35 +00:00
dbaron%dbaron.org d741e7e2b9 Better express that failures in one of the system font cases depend on what the system fonts actually are. 2007-04-17 18:01:17 +00:00
dbaron%dbaron.org e9ae438a83 Add code to know which failures to expect in test_value_storage.html (whether to call todo_is or is), and turn on the test. 2007-04-17 17:06:23 +00:00
dbaron%dbaron.org 70b92f36a6 Fix values for -moz-box-sizing too. 2007-04-17 08:01:22 +00:00
dbaron%dbaron.org ed79915cbf Fix values for -moz-float-edge. 2007-04-17 07:56:33 +00:00
dbaron%dbaron.org 7da1b5be10 Work towards getting test_value_storage running. 2007-04-17 07:41:44 +00:00
dbaron%dbaron.org a93bc5059f Work in progress on a test for value storage and serialization. 2007-04-17 04:45:49 +00:00
dbaron%dbaron.org e62e269ff1 Add tests that exercise nsCSSDeclaration::ToString. 2007-04-17 03:50:30 +00:00
dbaron%dbaron.org 7874b04679 Finish up adding initial and other values sections to property database, and test for their presence. 2007-04-17 01:07:22 +00:00
bzbarsky%mit.edu 728ced4b16 Change the way we determine the style context parent frame to skip css anon
boxes unless we're determining the style context parent for something that is
itself a css anon box (and is not a non-element frame).  Fixes bug 323656
(which is where the patch is), bug 85872, bug 280610.  As far as I can tell,
also fixes bug 317876, bug 372376, bug 374297.  r+sr=dbaron
2007-04-15 23:14:27 +00:00
dbaron%dbaron.org 3bc91346d5 Add tests for invalid values in the property database, and add cases fixed in bug 258080. 2007-04-15 22:29:35 +00:00
dbaron%dbaron.org eabcba96b1 Test for inherit and initial on shorthand properties as well. b=258080 2007-04-15 22:28:07 +00:00