266 Commits

Author SHA1 Message Date
dbaron%dbaron.org
e981649f18 Make what FindChildWithRules does actually be an MRU cache, and condense some if-else chains over mChild and mEmptyChild. b=335733 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@195616 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-28 00:09:05 +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
tor%cs.brown.edu
fe2017034e Bug 316764 - implement <mask> and fix <clipPath> for multiple
overlapping children.  r=scootermorris


git-svn-id: svn://10.0.0.236/trunk@187897 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-20 17:00:43 +00:00
tor%cs.brown.edu
4a3e054bee Bug 301234 - implement subset of SVG filters. r=scooter
git-svn-id: svn://10.0.0.236/trunk@179732 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-06 22:30:40 +00:00
dbaron%dbaron.org
3997847d81 Convert NS_ConvertUCS2toUTF8 to NS_ConvertUTF16toUTF8 in DumpRegressionData per biesi's review comment. b=306741
git-svn-id: svn://10.0.0.236/trunk@179700 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-06 17:09:58 +00:00
dbaron%dbaron.org
61660c6d94 Fix bad printfs in DumpRegressionData. b=306741 r=biesi sr=tor
git-svn-id: svn://10.0.0.236/trunk@179698 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-06 17:07:18 +00:00
bmlk%gmx.de
9a8c5a3703 Backout the patch for bug 273857. The required behaviour is not defined in the html spec, so we should do what we did for years in strict mode rather than following IE's new strict mode rendering. bug 300734 r/sr=dbaron a=benjamin
git-svn-id: svn://10.0.0.236/trunk@176320 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-20 12:03:15 +00:00
timeless%mozdev.org
34e46aa9ed Bug 284889 OOM crash [@nsStyleContext::ApplyStyleFixups]
patch by b.jacques@planet.nl r=dbaron sr=dbaron a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@176260 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-19 21:03:04 +00:00
aaronleventhal%moonset.net
d0301a1bd7 Bug 290352. Fix show/hide events, and anything dependent on those such as DHTML sub sub menus, alerts and progress bars. r=louie.zhao, sr=bz, a=asa
git-svn-id: svn://10.0.0.236/trunk@174409 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-10 13:57:27 +00:00
aaronleventhal%moonset.net
eb9e22a026 Bug 280498. Invalidate accessibility subtree for frame visibility/display style changes. r=bz, sr=roc, a=asa
git-svn-id: svn://10.0.0.236/trunk@172977 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-03 03:46:51 +00:00
bzbarsky%mit.edu
3f6088524e Fix border width inheritance by keeping track of both the border width we'd
have if our style were not none/hidden and the actual computed border width.
Bug 290377, r+sr=dbaron, a=asa


git-svn-id: svn://10.0.0.236/trunk@172872 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-29 15:44:38 +00:00
tor%cs.brown.edu
ff8b5cf88f Bug 277135 - addressing svg style sr comments. r=scooter, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@171608 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-04 21:42:26 +00:00
dbaron%dbaron.org
be07cbe034 Consolidate and deCOMtaminate parsing and storage of media lists. b=156716 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@171350 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-30 00:36:57 +00:00
dbaron%dbaron.org
d11c71af28 More documentation and a little cleanup. b=281113 r+sr=bzbarsky (and for the previous comment change too)
git-svn-id: svn://10.0.0.236/trunk@168838 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-05 05:24:21 +00:00
tor%cs.brown.edu
8e4cbfc529 Bug 193825 - <svg:clipPath> implementation.
r=scooter, sr=dbaron for shared moz files.


git-svn-id: svn://10.0.0.236/trunk@168283 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-25 03:55:03 +00:00
cbiesinger%web.de
a8dbace73d 38447 layout,content,dom and xpwidget part: Implement Handling of URI Values on
CSS "cursor" Properties
for dom,layout,content: r+sr=bz
for widget: r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@167117 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-30 21:56:11 +00:00
cbiesinger%web.de
c9b415a585 263671 make nsStyleUserInterface::CalcDifference return correct style hints if
more than one property differs. also handle dynamic cursor changes correctly.
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@167058 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-28 13:48:25 +00:00
mats.palmgren%bredband.net
8941ea78e7 Enable 'text-align' values that were derived from HTML align for tables again in Standards mode. b=273857 r=bernd sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@167003 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-23 22:02:54 +00:00
tor%cs.brown.edu
308eece6d8 Bug 238050 - implement SVG markers. r=scooter, moz common files sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@166471 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-09 03:16:15 +00:00
tor%cs.brown.edu
b5ae075b44 Bug 103294 - improve parsing of SVG stroke-dasharray property. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@165164 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-09 18:19:28 +00:00
dbaron%dbaron.org
307067aa6d Remove partial implementation of -moz-key-equivalent that was useful for nothing other than crashing. b=265721 r+sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@164265 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-24 04:32:21 +00:00
tor%cs.brown.edu
c10cf6e314 Bug 244917 - implement SVG gradients. Patch by scootermorris@comcast.net.
r=sicking,afri,tor,jwatt.  Shared mozilla code sr=tor,dbaron.


git-svn-id: svn://10.0.0.236/trunk@163782 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-14 23:02:53 +00:00
bzbarsky%mit.edu
bb8fde66b4 Add debug MaxDifference() function to style structs and add some asserts in
style context code to catch structs that are returning unexpected or bogus
hints.  Bug 258910, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@163071 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-01 03:33:05 +00:00
bmlk%gmx.de
ad152997a3 changing the border-collapse mode needs to cause a reframe as we have two different types of cellframes depending on the mode, bug 254053 idea=bz, r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@162133 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-11 06:13:47 +00:00
dbaron%dbaron.org
d078282226 Land bug 72747 in pieces: Implement overflow-x and overflow-y. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161772 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-05 00:04:04 +00:00
dbaron%dbaron.org
565357f6d2 Backout the CSS parts of bug 72747 to see if that fixes the Tp regression.
git-svn-id: svn://10.0.0.236/trunk@161357 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 22:35:38 +00:00
dbaron%dbaron.org
e8966a3d7f Fix debug bustage. b=72747
git-svn-id: svn://10.0.0.236/trunk@161343 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 19:12:05 +00:00
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
roc+%cs.cmu.edu
9479fac3b5 Bug 251162. Add -moz-column-gap to the style system. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159419 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-18 12:12:46 +00:00
dbaron%dbaron.org
9c58fc5ccf Move root element fixups to nsStyleContext so they happen before CalcDifference calls in style reresolution and we reframe less. b=245327 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@159399 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-17 18:21:41 +00:00
aaronleventhal%moonset.net
68db552d54 Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159341 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 16:56:21 +00:00
aaronleventhal%moonset.net
aac51e9f0b Backing out bug 151375 for now, because of scrolling regressions in HTML and XUL listboxes and comboboxes
git-svn-id: svn://10.0.0.236/trunk@159268 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 18:57:47 +00:00
aaronleventhal%moonset.net
c361ea9f16 Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@159196 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 21:58:34 +00:00
roc+%cs.cmu.edu
f8fdf5f9c2 Bug 245297. Add basic style system support for columns. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@158023 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 11:57:37 +00:00
caillon%redhat.com
b9425c4a43 Remove '-moz-resizer' from the style system.
Bug 242712. r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@156009 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-05 21:37:32 +00:00
gerv%gerv.net
98831918fc Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155044 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 21:52:36 +00:00
bryner%brianryner.com
2359d2f7c4 More nsIPresContext deCOMtamination (bug 229371). r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@154743 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 00:28:44 +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
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
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
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
b5347dd60c Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@150598 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-21 05:36:36 +00:00
uid502
bdc0f5a1e4 Bug 212366. Make '-moz-opacity' behave like CSS3 opacity: it does not inherit by default, and it composites the element and all its children as a group. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@148696 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-01 22:34:59 +00:00
uid502
f97b0819f2 Bug 165149. More cleanup. Make nsStyleContext::GetPseudoType return a weak pointer. Also remove unnecessary arguments to nsHTMLContainerFrame::CreateViewForFrame. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@148055 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-17 02:38:37 +00:00
bzbarsky%mit.edu
e6d13528ea Better output on null URIs.
git-svn-id: svn://10.0.0.236/trunk@147607 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-06 02:56:27 +00:00
bzbarsky%mit.edu
4dcff7ec30 Fix debug DumpRegressionData method to not crash on null uris for things like
mBinding, mBackgroundImage, etc


git-svn-id: svn://10.0.0.236/trunk@147603 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-06 02:16:20 +00:00
dbaron%dbaron.org
43790f2ab8 Fix DEBUG bustage. b=113173
git-svn-id: svn://10.0.0.236/trunk@147504 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-02 02:58:40 +00:00
dbaron%dbaron.org
4f6b46a91e Add nsIFrame::GetPresContext, which gets the pres context from the rule node which it gets from the style context. DeCOMtaminate nsStyleContext::GetRuleNode, nsRuleNode::GetRule, and nsRuleNode::GetPresContext. Remove unused nsRuleNode::PathContainsRule. b=208190 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@143968 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-20 01:22:44 +00:00