karlt+%karlt.net
4f43733aa9
b=453827 block-height line-height r=bz sr=dbaron a=ss
...
git-svn-id: svn://10.0.0.236/trunk@258087 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-12 21:31:55 +00:00
dbaron%dbaron.org
afa5639bce
Flush layout earlier in getComputedStyle(). (Bug 454276) r+sr=bzbarsky a1.9.0.8=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@256486 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-08 19:16:02 +00:00
dbaron%dbaron.org
365d3bef72
Fix the weird Get* API on nsStyleSides in favor of returning structs by value, to avoid further occurrences of bug 420069. b=420069 r+sr=roc a=beltzner
...
git-svn-id: svn://10.0.0.236/trunk@247146 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-06 00:05:29 +00:00
roc+%cs.cmu.edu
c1271515ea
Bug 363183. Fix getComputedStyle left/top/width/height for tables. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@244391 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-29 21:53:10 +00:00
roc+%cs.cmu.edu
b4a9606ffe
Bug 412901. getComputedStyle should return actual border widths (i.e. including round-to-device-pixels that happens during style resolution and layout). r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@244073 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-26 23:54:40 +00:00
bzbarsky%mit.edu
0301c2e184
Make line-height specified in ch units work. Bug 391909, r+sr+a+dbaron
...
git-svn-id: svn://10.0.0.236/trunk@233038 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-24 22:20:25 +00:00
bzbarsky%mit.edu
62a3c58937
Fix computed style for relative offsets when they're specified in |ch| units.
...
Bug 391034, r+sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@232245 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-16 23:19:26 +00:00
bzbarsky%mit.edu
086311b8df
Fix a few more issues with eSyleUnit_Chars in computed style. Bug 391221,
...
r+sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@232060 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-14 18:44:39 +00:00
tor%cs.brown.edu
0722ee44b2
Bug 383184 - Implement SVG lighting filters.
...
Style portion r+sr=dbaron, rest r=longsonr, sr=roc.
git-svn-id: svn://10.0.0.236/trunk@231040 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 06:57:43 +00:00
dbaron%dbaron.org
c43accf129
Implement remaining properties in computed style (with some hacks for counter() values for content), and fix some page-break-* bugs exposed by the added test coverage. b=316981 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@230594 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-22 17:58:37 +00:00
tor%cs.brown.edu
03bf68f490
Bug 316908 - Add SVG to nsComputedDOMStyle. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@230571 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-21 14:20:28 +00:00
roc+%cs.cmu.edu
a9b24741e2
Bug 364680. Intrinsic widths for columns. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@230345 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-20 02:21:44 +00:00
bzbarsky%mit.edu
4738c3572d
Propagate stylesheet principals through to XBL binding loads; streamline load
...
security checks in the XBL code (so that all the security checks are gated
through LoadBindingDocumentInfo). Bug 204140, r=dbaron for the CSS changes,
r=sicking for the XBL changes, sr=sicking.
In particular, this change allows user stylesheets loaded from local files to
link to local files.
git-svn-id: svn://10.0.0.236/trunk@230242 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 21:56:58 +00:00
jwalden%mit.edu
dda6ff3c99
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
...
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
masayuki%d-toybox.com
605efe68cb
Bug 279246 Implement 'ime-mode' property (WinIE CSS) r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@226522 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 15:51:39 +00:00
dbaron%dbaron.org
80e25fa18a
Add eStyleUnit_None so we don't have to use eStyleUnit_Null as a real value for max-width and max-height. b=379741 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@226289 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 06:01:31 +00:00
dbaron%dbaron.org
fd2e86c15a
Remove eCSSUnit_Proportional and eStyleUnit_Proportional, which were used only for a removed feature. b=333352 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@226288 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 06:00:26 +00:00
bzbarsky%mit.edu
33b3f60e43
Make computed style handle eStyleUnit_Chars. Bug 371043, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@225946 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-05 06:09:50 +00:00
bzbarsky%mit.edu
1788f844d4
Make computed style handle "normal" for line-height by computing an actual
...
numeric height. Bug 371041, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@225943 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-05 05:30:10 +00:00
dbaron%dbaron.org
03a83ad9f2
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
...
git-svn-id: svn://10.0.0.236/trunk@225554 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-03 23:11:02 +00:00
bzbarsky%mit.edu
54342320f7
Fix assert to not fire when it shouldn't. Bug 379405, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@225428 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-02 02:25:50 +00:00
bzbarsky%mit.edu
d2d337437c
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
git-svn-id: svn://10.0.0.236/trunk@225416 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 22:24:25 +00:00
bzbarsky%mit.edu
5907b0a328
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
git-svn-id: svn://10.0.0.236/trunk@224874 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 07:04:33 +00:00
bzbarsky%mit.edu
116d69628c
Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch by
...
Taras Glek <tglek@mozilla.com>, rs=roc.
git-svn-id: svn://10.0.0.236/trunk@222659 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-30 21:11:47 +00:00
masayuki%d-toybox.com
7aac338174
Bug 335394 We should remove support for the 'invert' value ifdef MOZ_CAIRO_GFX r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@221918 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-15 16:16:20 +00:00
dbaron%dbaron.org
535f44f6e4
Round the alpha component in computed style as well. b=372782 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@221563 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-08 18:44:45 +00:00
bzbarsky%mit.edu
8a1cc76eca
Refactor some repetitive computed style code. Bug 365932, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@220587 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-20 18:43:16 +00:00
sharparrow1%yahoo.com
dd459d0a71
Bug 177805: Fix the use of units in Gecko. r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@219640 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 07:46:44 +00:00
dbaron%dbaron.org
56bd7b92c6
Missed null check. b=368740 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@219233 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 05:23:47 +00:00
cvshook%sicking.cc
ccd1d6884d
Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
...
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:06:41 +00:00
dbaron%dbaron.org
3af9eecb86
Make non-box frames pay better attention to nsITheme::GetWidgetBorder and GetWidgetPadding. b=366722 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@219072 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-28 17:20:01 +00:00
dbaron%dbaron.org
f910247453
Make computed style output the a part of rgba/hsla colors, and also implement the 'transparent' keyword from css3-color. b=347912 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@218881 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 02:03:02 +00:00
roc+%cs.cmu.edu
7bc222b695
Bug 366880. -moz-column-gap should support 'normal', which should be the initial value. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@218489 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 03:25:38 +00:00
bzbarsky%mit.edu
a9c6606754
Make computed style not have to worry about null style structs. Bug 364821, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@217558 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-30 05:17:59 +00:00
masayuki%d-toybox.com
fa284ddafc
Bug 287624 ? round CSS border widths to nearest pixel r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@217460 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-27 14:21:43 +00:00
timeless%mozdev.org
c778d21502
Bug 355300 There should be only one nsGkAtoms creature
...
r=dbaron
git-svn-id: svn://10.0.0.236/trunk@217425 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 17:47:52 +00:00
bzbarsky%mit.edu
70c517f74d
Remove most of the aFrame args in computed style; just store the frame in a
...
member instead. Bug 364617, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@217340 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 06:10:32 +00:00
dbaron%dbaron.org
9332796f42
Eliminate nsStyleBorderPadding and add margin/padding/content rect APIs to nsIFrame. b=332922 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@217223 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 01:23:45 +00:00
bzbarsky%mit.edu
92ae61a0e2
Use typesafe methods for getting style structs, for now. Bug 363605, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@217175 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 04:16:09 +00:00
dbaron%dbaron.org
d0ca35d600
Fix crash regression by doing the best we can for computed padding/margin when there's no frame. b=363950 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@217033 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 23:39:43 +00:00
dbaron%dbaron.org
866a194991
Better API for used padding/border/margin: remove deprecated Calc*For on nsStyleStructs and add GetUsed* to nsIFrame. b=332922 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@216965 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 23:04:57 +00:00
bzbarsky%mit.edu
dbfd5010c0
Don't return bogus overflow values when we can't compute a real overflow
...
value. Bug 319381, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@216900 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 21:16:23 +00:00
dbaron%dbaron.org
1ca9f3f372
Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213.
...
git-svn-id: svn://10.0.0.236/trunk@216738 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 05:38:33 +00:00
bzbarsky%mit.edu
3ee1b00aa6
Move the location of "opacity" in the list so it's easier to find. Bug 337874,
...
r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@206835 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-08 16:41:03 +00:00
dbaron%dbaron.org
a02fd2d2f8
File comments that show up in LXR and provide a quick summary of what's in each file.
...
git-svn-id: svn://10.0.0.236/trunk@192979 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-25 05:47:31 +00:00
cbiesinger%web.de
6322c04952
bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
...
r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
roc+%cs.cmu.edu
df8627e29b
Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others
...
git-svn-id: svn://10.0.0.236/trunk@188202 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 02:29:17 +00:00
cvshook%sicking.cc
ceaf7bdebc
Bug 323910: Merge atom lists in gklayout
...
r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@187798 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-19 00:58:12 +00:00
cbiesinger%web.de
4ad1f9e1a1
bug 287837 r+sr=bz
...
- handle "normal" as valid unit for line-height
- default the values for -moz-outline-radius and -moz-border-radius to 0,
instead of null.
git-svn-id: svn://10.0.0.236/trunk@180568 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-19 15:47:26 +00:00
bzbarsky%mit.edu
d1afb179ba
Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
...
param. Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@178642 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 22:24:29 +00:00