dbaron%dbaron.org
1a94650e48
DeCOMify nsIFrame::IsPercentageBase and rename to IsContainingBlock. b=237169 r+sr=bzbarsky a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@153898 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-12 04:40:17 +00:00
bryner%brianryner.com
ff5c00904f
Support styling treerows differently for odd and even rows via properties (bug 235337). r=varga, sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@153740 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 09:01:46 +00:00
bmlk%gmx.de
bc6dd3a017
implement standards compliant (CSS2.1) table background rendering patch by fantasai@escape.com r=bernd sr=bz, dbaron
...
git-svn-id: svn://10.0.0.236/trunk@153736 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 06:48:35 +00:00
bzbarsky%mit.edu
e7ad4f7000
Load background images from style instead of from painting. This makes us
...
start loading the background images when we resolve style on an object that
needs them instead of when we scroll down and see it for the first time. Bug
57607, r=pavlov, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@153725 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 03:57:51 +00:00
roc+%cs.cmu.edu
b3c7e5391b
Bug 51938. Cache recently accessed line if the lines' combinedArea.y/ymosts are nondecreasing --- speeds up painting and event handling on large blocks. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@153649 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-07 18:04:24 +00:00
roc+%cs.cmu.edu
16bf6b061c
Bug 235335. Additional changes. r+sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@153605 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-06 04:53:30 +00:00
roc+%cs.cmu.edu
7c28614d74
Bug 235335. Make nsFrameManager a direct member of nsIPresShell. r+sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@153603 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-06 04:46:11 +00:00
chanial%noos.fr
68dd65025d
Bug 118296: implement NS_THEME_MENUBAR, NS_THEME_TOOLBAR, NS_THEME_MENUPOPUP and NS_THEME_MENUITEM (GTK2)
...
r=bryner, sr=roc
git-svn-id: svn://10.0.0.236/trunk@153515 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-04 04:55:31 +00:00
sicking%bigfoot.com
d706565d96
Bug 232706: Make nsAttrValue able to directly store all needed datatypes without using nsHTMLValue. Move parsing of various types from nsHTMLValue to nsAttrValue. Rename StringToAttribute to ParseAttribute and make it return a PRBool, as well as make a couple of minor fixes in the ParseAttribute code.
...
r=caillon sr=jst
git-svn-id: svn://10.0.0.236/trunk@153510 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-04 02:06:28 +00:00
darin%meer.net
af98e4f306
landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@153357 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-28 22:34:07 +00:00
bryner%brianryner.com
13bfbe0e6e
Trivial change to not run the nsFont default ctor here. r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@153246 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-25 23:15:11 +00:00
dbaron%dbaron.org
3b4e289dd6
Attempt to fix Windows bustage.
...
git-svn-id: svn://10.0.0.236/trunk@153153 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-24 07:37:36 +00:00
dbaron%dbaron.org
dafe525b26
Change -moz-opacity to opacity. Create a mechanism for creating a second name for a CSS property and continue to support -moz-opacity. b=93156 r=bzbarsky sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@153148 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-24 06:48:25 +00:00
bryner%brianryner.com
ceb7f1d2d5
Fixing AIX bustage
...
git-svn-id: svn://10.0.0.236/trunk@153123 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-24 00:36:35 +00:00
bryner%brianryner.com
d956db112f
Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@153111 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-23 21:29:06 +00:00
darin%meer.net
8f15bc8277
bustage fix r=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@152960 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 21:01:29 +00:00
cbiesinger%web.de
af62af08a0
233890, misc cleanup in some layout files, r+sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@152949 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 18:56:13 +00:00
dbaron%dbaron.org
6dd1e040bf
Replaced elements should not support generated content. b=169334 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@152945 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 18:04:15 +00:00
dbaron%dbaron.org
123d96291d
Convert switch in nsCSSProps::LookupPropertyValue to use a table by adding to the CSS_PROP_* macros. b=208726 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@152944 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 18:02:20 +00:00
darin%meer.net
55688e6410
landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt
...
git-svn-id: svn://10.0.0.236/trunk@152905 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 02:44:03 +00:00
jst%mozilla.jstenback.com
d28978604e
Fixing bug 68215. Adding support for the onbeforeunload event. r=peterv@propagandism.org, sr=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@152654 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 06:09:51 +00:00
bryner%brianryner.com
7ace3321e6
Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@152647 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 04:57:07 +00:00
sicking%bigfoot.com
15ec97ef25
Bug 232706: Remove unneccesary datatypes from nsHTMLValue and cleanup AttributeToString.
...
r=caillon sr=jst
git-svn-id: svn://10.0.0.236/trunk@152621 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 00:09:59 +00:00
sicking%bigfoot.com
c702ec4334
Final patch for bug 195350. Make XUL use new nsAttrAndChildren class. Kill nsXULAttributeValue and nsXULAttributes in favour of nsAttrValue resp. nsDOMAttributeMap. Should fix a few bugs, improve performance and reduce bloat.
...
r=bz sr=jst
git-svn-id: svn://10.0.0.236/trunk@152585 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-10 09:08:06 +00:00
dbaron%dbaron.org
1f7a84c373
Clean up nsStyleContext::GetUniqueStyleData. b=233480 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@152541 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-09 06:55:14 +00:00
alex.fritze%crocodile-clips.com
937a1cf846
Landing of SVG_20020806_BRANCH, Bug 182533. Refactoring of SVG backend, new GDI+ and Libart rendering
...
backends, text support on Windows (GDI+), rudimentary text support on Linux (libart/freetype2), presentation
attributes, lots of bug fixes (see bug 182533 for dependency list).
Not part of default build; code is #ifdef'ed out.
r=sicking, sr=jst for dom and htmlparser changes
r=bsmedberg, sr=tor for config changes
r=dbaron, sr=bzbarsky for content and layout changes
r=tor, sr=bzbarsky for gfx changes
git-svn-id: svn://10.0.0.236/trunk@152468 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-07 12:39:26 +00:00
dbaron%dbaron.org
6b800e75e5
Implement -moz-margin-start, -moz-margin-end, -moz-padding-start, and -moz-padding-end and cascade them correctly. Use them in html.css to improve default styles for lists in RTL documents. b=74880 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@152274 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-04 06:10:56 +00:00
jst%mozilla.jstenback.com
534a59157f
Checking in patch from psolanki@myrealbox.com for bug 232417. DeCOMtaminating nsIHTMLDocument. r+sr=jst@mozilla.jstenback.com
...
git-svn-id: svn://10.0.0.236/trunk@152244 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-03 23:23:10 +00:00
bryner%brianryner.com
5b5cd321a4
Guarantee that the pres context's device context will be non-null by returning failure from Init() if it's null. Rename inline getter GetDeviceContext() to DeviceContext(), convert all callers to use the inline getter, and remove the virtual/refcounting getter. Bug 229371, r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@152182 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-02 22:17:21 +00:00
sicking%bigfoot.com
c47b780108
Bug 231199: Make hashing of mapped-attributes be case sensitive to improve performance, and enable possible codesharing with xul and svg in the future.
...
r=peterv sr=jst
git-svn-id: svn://10.0.0.236/trunk@152180 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-02 22:00:36 +00:00
bryner%brianryner.com
018aeefc0d
More nsIPresContext deCOMtamination (bug 229371). Inline getters and setters for LinkHandler, VisibleArea, and Language; change some methods that don't return any useful data to |void|; make GetContainer return an already_AddRefed. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@152137 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-01 10:09:07 +00:00
bryner%brianryner.com
b4581d93cf
Continuing nsIPresContext deCOMtamination (bug 229371). Remove ReParentStyleContext - callers can call frame manager directly. Removed several unused setters. Inlined getters for default colors, font scaler, and focus ring width. Changed GetDefaultFont to return a const nsFont*. r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@152127 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-31 22:41:40 +00:00
sicking%bigfoot.com
2d7b04ac1f
More bug 195350 work: Make html use new nsAttrAndChildArray class.
...
r=caillon sr=jst
git-svn-id: svn://10.0.0.236/trunk@151849 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-26 19:22:05 +00:00
peterv%propagandism.org
f76a4dbc8a
Fix for bug 230439 (Remove anonymous nodeinfomanager and other cleanup). r=caillon, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@151500 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-18 14:52:21 +00:00
caillon%returnzero.com
a6b89b89f0
Bug 230976.
...
Use atoms for common default values in nsComputedDOMStyle to avoid string duplication.
r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@151476 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-18 02:42:27 +00:00
dbaron%dbaron.org
87f96cc17d
Fix parsing of 'cursor' property and ignoring of uri() values, which we don't support. b=77974 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@151470 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-18 01:12:58 +00:00
caillon%returnzero.com
9597ef526a
Bug 230973 - NS_STYLE_LIST_STYLE_BASIC is spurious. Remove its usage in favor of the correct default of disc. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@151390 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-15 22:06:39 +00:00
sicking%bigfoot.com
737987f531
Bug 195350: First stage of attributes overhaul. New class for storing attributes and children for an element. Use this class for xml elements. Also remove a couple of unneccesary functions from nsIContent.
...
r=caillon sr=jst
git-svn-id: svn://10.0.0.236/trunk@151370 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-15 17:07:27 +00:00
dbaron%dbaron.org
36435245d2
Remove nsChangeHint_ReconstructDoc. b=230945 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@151356 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-15 03:32:06 +00:00
dbaron%dbaron.org
e53f35f88c
Fix copy constructor so -moz-image-region inherits correctly. b=220717 r=bzbarsky sr=ben
...
git-svn-id: svn://10.0.0.236/trunk@151346 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-15 02:24:17 +00:00
dbaron%dbaron.org
44cf91f9e8
Do style resolution of later siblings required by the CSS + combinator on event state and attribute changes by changing the result of Has(Attribute|State)DependentStyle into a bitfield and setting and handling the restyle-later-siblings bit appropriately. b=15608 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@151284 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-14 01:36:35 +00:00
dbaron%dbaron.org
3d49352c78
Treat relatively positioned elements at original position for flowing around floats. b=205087 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@151166 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-11 04:29:09 +00:00
roc+%cs.cmu.edu
986d8acdaa
Bug 225820. Fold nsFrameInnerFrame into nsFrameOuterFrame, rename to nsSubDocumentFrame, and generally clean up this mess. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@151139 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-10 05:36:32 +00:00
cbiesinger%web.de
b3d2012876
bug 230343, support CSS2.1 cursor:progress
...
r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@151045 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-08 21:27:56 +00:00
bzbarsky%mit.edu
3b89ac8234
Add Content-Location header support. Bug 109553, r=jst, sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@151014 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-08 04:04:16 +00:00
bryner%brianryner.com
468d3e2e8d
Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@150998 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-07 22:30:53 +00:00
bryner%brianryner.com
4cca78120d
deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@150720 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-24 21:51:50 +00:00
peter%propagandism.org
cf13bd6210
Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@150684 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-23 15:41:10 +00:00
bzbarsky%mit.edu
d84ff0d2af
Make sure to reframe when the "rules" attribute changes, since tables cache all
...
sorts of border-collapse stuff across reflows. Bug 226593, r=bernd, sr=dbaron,
a=brendan
git-svn-id: svn://10.0.0.236/trunk@150021 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-04 06:26:15 +00:00
dbaron%dbaron.org
914621cdfb
Fix problems when using generic font when the parent font is not generic but the closest ancestor with a generic font used the same generic. Miscellaneous cleanup. b=226871 r+sr=bzbarsky a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@149940 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-02 22:24:32 +00:00