Commit Graph

2548 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
c3ea09b7b0 Bug 78510. Maintain a per-document hashmap from URI-spec-hash to set of pointers to content elements that are links to those URIs whose state has been queried by the style system. Use this map to efficiently mark visited any links to URIs which get visited. r+sr=dbaron, with input from bryner and bzbarsky, a=jesup with support from dbaron. May impact Tp and other metrics, be careful out there. 2005-08-10 20:21:44 +00:00
dbaron%dbaron.org
9d9d0cfe3c Correct comment that refers to nonexistent type. 2005-08-08 21:38:04 +00:00
allan%beaufour.dk
18c60543f2 Support :required and :optional pseudoclasses. Bug 302608, r+sr=bzbarsky, a=mkaply 2005-08-02 08:29:03 +00:00
vladimir%pobox.com
b651bbf0d3 b=294852, canvas is too easily selected, r=vladimir,a=bsmedberg 2005-07-28 17:20:37 +00:00
dbaron%dbaron.org
d3f2173911 Improve comments. r=bzbarsky a=comment changes only 2005-07-26 02:28:02 +00:00
bmlk%gmx.de
57823ec1ef 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 2005-07-20 12:03:15 +00:00
timeless%mozdev.org
b34557451f Bug 284889 OOM crash [@nsStyleContext::ApplyStyleFixups]
patch by b.jacques@planet.nl r=dbaron sr=dbaron a=bsmedberg
2005-07-19 21:03:04 +00:00
bzbarsky%mit.edu
2ecae9f664 Escapes should be allowed to start an id. Bug 299148, r+sr=dbaron, a=bsmedberg 2005-07-19 20:49:34 +00:00
dbaron%dbaron.org
a774ba681b Send correct Referer when <base href> is involved. r+sr=bzbarsky a=bsmedberg b=300942 2005-07-19 20:44:49 +00:00
bzbarsky%mit.edu
f70c08e093 Move some marquee styles into a scoped binding sheet, and deal better with the
fact that the binding is not actually removed when printing.  Bug 170341, patch
by Martijn Wargers <martijn.martijn@gmail.com>, r+sr=bzbarsky, a=bsmeberg
2005-07-18 21:15:42 +00:00
cbiesinger%web.de
cdd39b8817 check a pref to determine whether CSS background images should block onload
(instead of an env var)
bug 299681 patch by Christian Persch <chpe@gnome.org> r+sr=roc a=bsmedberg
2005-07-15 21:19:04 +00:00
timeless%mozdev.org
85ccfba88d Bug 138403 text-align:left; for submit Button does not work
patch by martijn.martijn@gmail.com r=bz sr=bz a=asa
2005-07-13 18:53:08 +00:00
timeless%mozdev.org
20263781d0 Bug 299560 nsCSSParser.cpp:935 Comparison between signed and unsigned integer expressions
patch by b.jacques@planet.nl r=dbaron sr=dbaron a=bsmedberg
2005-07-13 18:16:00 +00:00
timeless%mozdev.org
cd1629222d Bug 299184 Should set background-color property for prettyprint
patch by martijn.martijn@gmail.com r=sicking sr=roc a=asa
2005-07-11 22:22:47 +00:00
dbaron%dbaron.org
22c8c10292 Implement css3 syntax for url() values of cursor with optional hotspot coordinates. b=286303 r=biesi sr=bzbarsky a=asa 2005-07-01 04:29:42 +00:00
cvshook%sicking.cc
23fe2ae1ed Bug 296764: Move html keybindings to chrome to make sure they work even with js turned off
r=bsmedberg sr=jst a=bsmedberg
2005-06-29 22:41:59 +00:00
cbiesinger%web.de
2e7e16befb Bug 295047 Want unicode stream readers/writers: Makes nsIUnicharInputStream and
nsIConverterInputStream scriptable, and adds nsIUnicharOutputStream and
nsIConverterOutputStream (together with implementations).
r=jshin sr=darin a=chofmann
2005-06-24 19:44:50 +00:00
smfr%smfr.org
c34b98234d Fix camino bug 298111: improve appearance of select and textarea form controls for Cocoa widgets (all inside #idef for Cocoa: only affects Camino). r=pinkerton, sr=me. 2005-06-24 19:32:54 +00:00
peterv%propagandism.org
ea82f1a8a5 Fix for bug 286300 (Clean up HTML tags enum and related code). r=mrbkap, sr=bz, a=asa. 2005-06-16 13:10:58 +00:00
dbaron%dbaron.org
f00b4902e7 Implement the same block-alignment behavior for align=left (which matters only for RTL) that we do for center and right. b=64510 r+sr=roc a=asa 2005-06-15 23:45:06 +00:00
aaronleventhal%moonset.net
d8ef241ada 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 2005-06-10 13:57:27 +00:00
bzbarsky%mit.edu
4b8823720e Add an nsIContent api for getting the intrinsic state of the content; this can
be used to implement more pseudo-classes (eg CSS3 UI ones for XForms).  Bug
296309, r+sr=dbaron, a=chofmann
2005-06-03 02:02:45 +00:00
bzbarsky%mit.edu
ccf9ef3a04 Fix crashes when computed style is used on a dead presentation. Bug 291183,
r+sr=dbaron, a=chofmann
2005-06-03 01:51:15 +00:00
bzbarsky%mit.edu
e9bccda56f Make sure to clean up before any early returns. Bug 295638, r=vlad, sr=dbaron,
a=shaver.
2005-06-01 15:41:12 +00:00
bsmedberg%covad.net
9abe57c447 Bug 281988 - Chrome registry supports for the xpcnativewrappers=yes flag. Chrome packaging fixup to apply the xpcnativewrappers=yes flag to our application chrome packages for ffox/tbird. This also stops the repackaging of thunderbird chrome. r=mscott+bz a=drivers 2005-05-20 12:58:57 +00:00
vladimir%pobox.com
de01b09320 b=291216, canvas should not be an empty element, default width/height, fallback content should not be rendered, r+sr=bzbarsky, a=brendan/shaver 2005-05-07 03:45:06 +00:00
aaronleventhal%moonset.net
abd3646f41 Bug 280498. Invalidate accessibility subtree for frame visibility/display style changes. r=bz, sr=roc, a=asa 2005-05-03 03:46:51 +00:00
bzbarsky%mit.edu
f6d31f1642 Actually address the review comments on bug 290377... r+sr=dbaron, a=asa 2005-04-30 05:16:21 +00:00
bzbarsky%mit.edu
e61e1e1935 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
2005-04-29 15:44:38 +00:00
roc+%cs.cmu.edu
301b411013 Bug 290752. Don't create unnecessary level of style contexts for scrolled frames. r+sr=bzbarsky,a=asa 2005-04-28 22:14:16 +00:00
dbaron%dbaron.org
8b40c23c0e rules=all and rules=none shouldn't trigger collapsed borders. b=155507 r=bernd sr=bzbarsky a=asa 2005-04-28 20:47:06 +00:00
bzbarsky%mit.edu
256acff928 Don't call ValueAppended on every single inline style mutation. Should be a
tad faster, and actually serialize better.  Bug 288574, r+sr=dbaron, a=asa.
2005-04-28 20:19:24 +00:00
bzbarsky%mit.edu
30c41a6580 Removing -moz-page-break display value, since it's not needed. Bug 289975,
r+sr+a=dbaron
2005-04-22 15:31:44 +00:00
bzbarsky%mit.edu
8df9c25d22 Create CSSLoaders when the document object is created and deCOMify the getter.
Bug 290068, r=sicking, sr=peterv, a=brendan
2005-04-19 01:27:11 +00:00
tor%cs.brown.edu
25434d72f5 Bug 290830 - svg pointer-events:none not working. r+sr+a=dbaron 2005-04-18 23:38:19 +00:00
vladimir%pobox.com
778c1681c5 b=288796, add public ParseColorString method to CSSParser, r+sr=dbaron,a=asa 2005-04-18 02:51:40 +00:00
bzbarsky%mit.edu
79d691d1f0 Fix difference calculations for the border struct some more. Bug 290362,
r+sr=dbaron, a=asa
2005-04-15 16:56:05 +00:00
bzbarsky%mit.edu
e2e353c87b Clean up includes a bit in CSSLoader. Bug 290107, r+sr=dbaron, a=brendan 2005-04-14 15:27:16 +00:00
bzbarsky%mit.edu
b20bbf762c Finish removing the -moz-bulletinboard display value from the tree. All the
code implementing it is long removed; we shouldn't be parsing it.  Bug 289967,
r+sr=dbaron, a=asa
2005-04-12 15:27:23 +00:00
tor%cs.brown.edu
b689decba7 Bug 277135 - addressing svg style sr comments. r=scooter, sr=dbaron 2005-04-04 21:42:26 +00:00
ginn.chen%sun.com
c4da642d54 Bug 260399 disabled textarea/input should use DEFAULT pointer
r+sr=bzbarsky
2005-04-04 10:35:50 +00:00
dbaron%dbaron.org
739d94dd38 Reduce code duplication between assignment operator and copy constructor and improve assignment operator. b=288707 r+sr=bzbarsky 2005-04-03 16:47:01 +00:00
dbaron%dbaron.org
da745299c9 Implement CSS2 counters. b=3247 r+sr=bzbarsky 2005-04-01 23:07:00 +00:00
smfr%smfr.org
12e84fcbdb Fix bug 288360 -- uninitialized return values caused failure to load CSS on various sites. r/sr=bzbarsky 2005-03-30 23:05:02 +00:00
dbaron%dbaron.org
663516e016 Use protected instead of private so VC6 gets less confused when nsDerivedSafe is involved. Hopefully fixing bustage. b=156716 2005-03-30 01:42:06 +00:00
dbaron%dbaron.org
4b1913ff77 Consolidate and deCOMtaminate parsing and storage of media lists. b=156716 r+sr=bzbarsky 2005-03-30 00:36:57 +00:00
mats.palmgren%bredband.net
4f49d3bf00 Fix a few -moz-outline* problems and drop the prefix.
Change WARNING to ERROR in nsComputedDOMStyle.cpp and add a few more.
b=281972 r+sr=dbaron
2005-03-27 11:36:08 +00:00
bzbarsky%mit.edu
288bdb0593 Fix serialization of attribute-existence selectors. Bug 286010, r+sr=dbaron 2005-03-26 02:36:15 +00:00
neil%parkwaycc.co.uk
1a4c3d3da2 Relanding patch to install (symlink) ua.css now that svg no longer munges it b=266930 r=bsmedberg sr=dbaron 2005-03-25 20:14:06 +00:00
dbaron%dbaron.org
9555b9ae04 Clean up GetImportantRule and null-check for out-of-memory case to bulletproof against null dereference topcrash. b=287504 r+sr=bzbarsky 2005-03-25 04:09:13 +00:00
timeless%mozdev.org
78adbdc779 Bug 287315 do not use cp to install ua.css
r=bz sr=bz
2005-03-23 14:37:08 +00:00
cbiesinger%web.de
6f5951be02 bug 286899 Follow CSS 2.1, rather than css3-ui, for the computed style for the
cursor property: Make it contain all URIs (absolutized) and the pointer.
r+sr=dbaron
2005-03-20 13:35:31 +00:00
dbaron%dbaron.org
0e15aba15c Fix code formatting. 2005-03-19 00:48:10 +00:00
dbaron%dbaron.org
3015a4a28b Handle unterminated strings in CSS by using an additional error token type. b=286262 r+sr=bzbarsky 2005-03-18 06:56:56 +00:00
dbaron%dbaron.org
e5bbed0fcf Add comment. b=286262 r+sr=bzbarsky 2005-03-18 06:56:03 +00:00
bzbarsky%mit.edu
f03bac09cc Add an IsFloatContainingBlock() method on nsIFrame, use this in the frame
constructor.  Make sure the div inside an <object> when we do our "we need a
plugin" thing has the space manager bit set.  Bug 283385, bug 285165, bug
286111.  r+sr=roc
2005-03-18 04:13:05 +00:00
dbaron%dbaron.org
9a7d3996ac Fix 'cursor' cascading issues with url()s. b=286388 r+sr=bzbarsky 2005-03-17 04:38:39 +00:00
dbaron%dbaron.org
7971eed83f Strings terminated by a newline instead of a closing quote should be handled as errors, not strings. b=286262 r+sr=bzbarsky 2005-03-15 18:58:36 +00:00
roc+%cs.cmu.edu
e29e28ebd5 Bug 267037. Buttons should delegate child frames to the wrapped block, and tell the style system that legends are always blocks. Fixes a couple of crashes. r+sr=bzbarsky 2005-03-07 19:08:26 +00:00
bryner%brianryner.com
a29b6c69fa Remove nsIXBLBinding (bug 194834). r+sr=bzbarsky. 2005-02-25 22:07:01 +00:00
bzbarsky%mit.edu
a41405492a Null-check the various allocations we do in rulenode. Bug 245295, patch by
Daniel de Wildt <mozilla3q04@dewildt.de>, r+sr=bzbarsky
2005-02-25 13:14:36 +00:00
mats.palmgren%bredband.net
7926bd6fed Fix compile warnings on Windows. b=281745 r+sr=dbaron 2005-02-20 00:04:54 +00:00
bryner%brianryner.com
59496a3bd0 Rename nsNameSpaceMap to nsXMLNameSpaceMap to avoid symbol collision in static builds (bug 281728). r=dbaron. 2005-02-19 00:10:38 +00:00
bryner%brianryner.com
3fc8341b89 Simplifying this a bit to try to fix bustage. 2005-02-18 19:58:13 +00:00
bryner%brianryner.com
58396e7490 Remove nsINameSpace and replace with a simple array-based list of namespace mappings for CSS. Bug 281728, r+sr=bzbarsky. 2005-02-18 19:18:37 +00:00
bzbarsky%mit.edu
c0a59befc5 Convert internal users of -moz-opacity to just use opacity. Bug 281907, patch
by Anne van Kesteren <bug@annevankesteren.nl>, r+sr=bzbarsky
2005-02-18 16:33:02 +00:00
bzbarsky%mit.edu
558e1b3f93 Put the quirky 1em bottom margin on forms only in quirks mode. Bug 41806,
patch by Anne van Kesteren <bug@annevankesteren.nl>, r=bzbarsky, sr=dbaron
2005-02-18 06:13:28 +00:00
bzbarsky%mit.edu
fd38902270 Make the nsStyleBorder constructor be smarter about setting default border
style; nix the unnecessary BORDER_STYLE_DEFINED stuff.  Bug 279156, r+sr=dbaron
2005-02-18 06:09:36 +00:00
ginn.chen%sun.com
22ff8dbb7d Bug 174740 Black checkboxes in menus (e.g. View->Toolbars->Navigation Bar)
r=robin.lu sr=bryner
2005-02-18 06:03:08 +00:00
roc+%cs.cmu.edu
465537e4b9 Bug 277420. Use ConstructBlock when creating scrolled and absolutely positioned blocks. Removes copied code and makes columns work in such situations. r+sr=bzbarsky 2005-02-08 02:15:26 +00:00
roc+%cs.cmu.edu
aa472caca7 Bug 274521. Disable 'border' on frames and framesets since we don't actually support it. r+sr=bzbarsky 2005-02-08 02:08:13 +00:00
dbaron%dbaron.org
28c1cdc52d More documentation and a little cleanup. b=281113 r+sr=bzbarsky (and for the previous comment change too) 2005-02-05 05:24:21 +00:00
dbaron%dbaron.org
78fd3f2b78 Fix comment. 2005-02-04 20:29:18 +00:00
dbaron%dbaron.org
78d6780bb5 Add comments. 2005-02-04 20:11:00 +00:00
bzbarsky%mit.edu
8d04af9801 Fix GetSelectorText to truncate the out string. Bug 142648, patch by Daniel
Kraft <domob@daniel-kraft.net>, r+sr=bzbarsky
2005-02-03 18:31:24 +00:00
gerv%gerv.net
c9e600ac91 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-02-01 15:28:15 +00:00
bzbarsky%mit.edu
7f6fee5347 Fix percent heights of kids of fieldsets at the expense of height:inherit. Bug
240571, r+sr=roc
2005-02-01 02:51:37 +00:00
roc+%cs.cmu.edu
429650eef3 Bug 277355. Make columns get the right containing block width and height. r+sr=bzbarsky 2005-02-01 01:21:25 +00:00
bzbarsky%mit.edu
2e62979ba1 Getting the selector text should properly escape and quote attribute value
strings.  Bug 142648, patch by Daniel Kraft <domob@daniel-kraft.net>, r=dbaron,
sr=bzbarsky.
2005-01-30 18:01:57 +00:00
aaronleventhal%moonset.net
df927a6518 Bug 279496. Can't copy and paste in text area. r=mats, sr=bz 2005-01-27 13:10:20 +00:00
tor%cs.brown.edu
0ee1400807 Bug 193825 - <svg:clipPath> implementation.
r=scooter, sr=dbaron for shared moz files.
2005-01-25 03:55:03 +00:00
cvshook%sicking.cc
e2081a89e6 Bug 236476: Change GetHTMLAttribute to GetParsedAttr. Also fixes bug 232706 by removing final uses of nsHTMLValue.
r=bz sr=jst
2005-01-25 00:02:58 +00:00
aaronleventhal%moonset.net
3bc5cf665e Bug 256003. Remove -moz-user-focus from html.css, forms.css, ua.css. It's been deprecated from use in HTML. Patch by Martijn Wargers. r=bryner, sr=roc 2005-01-23 03:48:00 +00:00
bzbarsky%mit.edu
b5a6a3c3c4 Make CSS scanner build when CSS error reporting is disabled too. Bug 279323,
patch by Alex Vincent <ajvincent@gmail.com>, r=dbaron, sr=bzbarsky
2005-01-22 04:52:05 +00:00
bzbarsky%mit.edu
1045658648 Fix test for none/hidden border styles to work correctly. Bug 275139, r+sr=dbaron 2005-01-20 16:49:57 +00:00
bzbarsky%mit.edu
e0d76e033b Make sure to clear out content when we have it specified as none or initial,
even if we're ending up computing the difference from a cached struct.  Bug
273719, r+sr=dbaron
2005-01-13 03:49:20 +00:00
bryner%brianryner.com
a8073f18a3 Remove nsIHTMLContent interface (bug 276959). r+sr=jst. 2005-01-12 19:45:38 +00:00
bzbarsky%mit.edu
b5c3568bed Fix HTML nodes to not claim to be in the XHTML namespace (unless they are, of
course).  Bug 103225, r+sr=jst
2005-01-12 02:41:36 +00:00
bzbarsky%mit.edu
aed64e9bfb Don't pass null frames to nsHTMLReflowState::GetContainingBlockFor. Bug
273458, r+sr=dbaron
2005-01-04 20:17:25 +00:00
mats.palmgren%bredband.net
8a4a940c11 Improve handling of 'display' property for <noscript>. b=236450 r+sr=bzbarsky 2005-01-03 19:37:54 +00:00
dbaron%dbaron.org
57972475fb Fix initializer-reordering warning. 2005-01-03 19:29:09 +00:00
cbiesinger%web.de
b71e2a3790 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
2004-12-30 21:56:11 +00:00
cbiesinger%web.de
fbf5e17933 263671 make nsStyleUserInterface::CalcDifference return correct style hints if
more than one property differs. also handle dynamic cursor changes correctly.
r+sr=bz
2004-12-28 13:48:25 +00:00
mats.palmgren%bredband.net
a0ded7b0cd Enable 'text-align' values that were derived from HTML align for tables again in Standards mode. b=273857 r=bernd sr=dbaron 2004-12-23 22:02:54 +00:00
bsmedberg%covad.net
60567bb185 Bug 275605 - libxul step 3 (all of tier 9, except libmozjs.so which will remain separate indefinitely) r=darin 2004-12-15 04:07:01 +00:00
bryner%brianryner.com
6d1dd410b1 Move nsIContent::GetClassAttributeName() onto nsIStyledContent (bug 274402). r+sr=jst. 2004-12-14 03:54:01 +00:00
bryner%brianryner.com
076b2a64a6 deCOMtaminate nsIContent::GetNameSpaceID. Bug 272079, r+sr=jst 2004-12-13 04:14:28 +00:00
tor%cs.brown.edu
b64db91538 Bug 216559 - CSS3 currentColor. Patch by scootermorris@comcast.net.
r=bz, sr=dbaron.
2004-12-09 23:51:25 +00:00
bzbarsky%mit.edu
23bcd45fd7 Move handling of "dir" and "bdo" into ua.css so it doesn't get turned off when
author styles are disabled.  Bug 261361, patch by fantasai
<fantasai.bugs@inkedblade.net>, r=dbaron, sr=bzbarsky
2004-12-09 16:08:43 +00:00
tor%cs.brown.edu
b3e2c4245d Bug 238050 - implement SVG markers. r=scooter, moz common files sr=dbaron 2004-12-09 03:16:15 +00:00
dbaron%dbaron.org
953fdd4a1f Bug 272151: reorganize files within layout, r+sr=roc: add new Makefiles. 2004-12-07 18:09:28 +00:00
dbaron%dbaron.org
1eb85d49b9 Fix DOM round-tripping of -moz-initial. b=219903 r+sr=bzbarsky 2004-12-04 22:10:07 +00:00
bzbarsky%mit.edu
f6fea6e11a Fix comment. More bug 157395. 2004-12-03 04:48:32 +00:00
bzbarsky%mit.edu
6de447be6a :empty should not match nodes that have whitespace children. Introduce a
:-moz-only-whitespace pseudo-class to do what :empty used to do (so we can use
it in quirk.css and the like).  Bug 157395, patch by Justin Wood
<116057@bacon.qcc.mass.edu>, r+sr=bzbarsky
2004-12-03 04:25:21 +00:00
dbaron%dbaron.org
c21915db9d Remove unused iscoord parameter from CSS_PROP_* macros. b=205790 r+sr=bzbarsky 2004-11-30 19:24:34 +00:00
bzbarsky%mit.edu
da145480c7 Fix asserts by making sure that border-spacing is always computed to coord
values.  Bug 270325, r+sr=dbaron
2004-11-30 18:30:58 +00:00
dbaron%dbaron.org
e2aa2edb92 Use preprocessor instead of separate files for platform-specific parts of forms.css. b=272151 r+sr=bryner 2004-11-30 06:04:04 +00:00
dbaron%dbaron.org
f94a5bc660 Avoid switches by using new nsStyleSides methods. b=272033 r+sr=bzbarsky 2004-11-30 05:31:37 +00:00
mats.palmgren%bredband.net
5984611143 Skip leading space inside :not(). b=271916 r+sr=dbaron 2004-11-28 15:04:13 +00:00
mats.palmgren%bredband.net
6a6fc8d7ac Making invalid selectors ignore the following rule in more cases. b=265542 r=bzbarsky sr=dbaron 2004-11-26 21:05:45 +00:00
roc+%cs.cmu.edu
c59dda520c Bug 271869. mBorderWidths need not be per-nsStyleBorder/nsStyleOutline, put it in the prescontext instead. r+sr=dbaron 2004-11-26 18:40:58 +00:00
bzbarsky%mit.edu
1cb3693088 Add a utility method for finding the containing block to nsHTMLReflowState, and
make use of it in fixing the text-decoration drawing on blocks to deal with
negative text-indent.  Bug 263374, r+sr=dbaron
2004-11-25 02:43:28 +00:00
bryner%brianryner.com
29c70cffe8 Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin. 2004-11-24 22:48:45 +00:00
darin%meer.net
6d8591d85f fixes bug 263360 "Make CallCreateInstance use NS_GetComponentManager instead of nonfrozen/deprecated nsComponentManager symbols" r=bsmedberg sr=dbaron 2004-11-23 20:53:38 +00:00
bzbarsky%mit.edu
095f0fe791 Use nsContentUtils for error-reporting for <area> parsing. Bug 269697,
r+sr=jst
2004-11-23 17:45:37 +00:00
bzbarsky%mit.edu
6b78bd4a5e deCOMify nsIStyledContent::GetID (make it return we a weak pointer to the ID
atom).  Bug 244249, patch by jpl24 <jlurz24@gmail.com>, r=sicking, sr=bzbarsky
2004-11-23 17:21:37 +00:00
smontagu%smontagu.org
33a7df720e Make form controls, scroll boxes and columns inherit "unicode-bidi" correctly. Also force file inputs to have left-to-right directionality. Bug 267459, r=dbaron, sr=bzbarsky. 2004-11-23 09:42:23 +00:00
tor%cs.brown.edu
a4fd23d276 Bug 269891 - crash in stroke-dasharray sharing. r+sr=bzbarsky 2004-11-15 04:43:11 +00:00
tor%cs.brown.edu
4dc9eba112 Bug 103294 - improve parsing of SVG stroke-dasharray property. r+sr=bz 2004-11-09 18:19:28 +00:00
dbaron%dbaron.org
976fc758a4 Remove nsIStyleRule::GetStyleSheet (and move it to nsICSSRule). b=266991 r+sr=bzbarsky 2004-10-31 17:33:50 +00:00
bzbarsky%mit.edu
e7cc653157 Make it possible to use the string input stream without heap-allocating a
string.  Bug 263973, r=darin, sr=dbaron
2004-10-27 02:19:43 +00:00
bzbarsky%mit.edu
4ea1df8397 Factor out the code to insert a frame into the right childlist (used for
handling out-of-flows) into a function on the frame constructor state.  Enforce
some invariants via !important rules in html.css instead of hacking them into
the code.  Bug 263406, r+sr=roc
2004-10-27 01:34:22 +00:00
aaronleventhal%moonset.net
99ef95d12f Bug 251498. Implement outline-offset. r+sr=roc 2004-10-26 12:57:15 +00:00
ginn.chen%sun.com
07450eb9c0 bug 251492 [gnome]selected item text wrong color in high-contrast themes
ginn.chen%sun.com r=bryner sr=dbaron
also fix bug 244955 [GNOME] incorrect system colors for the menu item text
2004-10-26 01:45:28 +00:00
mrbkap%gmail.com
a90d8757f4 bug 263083: view-source now shows tokenizer-level errors, I forgot to check this in earlier. r=rbs sr=dmose 2004-10-25 23:54:04 +00:00
bzbarsky%mit.edu
8cf7d0e9af Make vertical marquees actually be 200px height by default. Bug 265631,
original patch by Martijn Wargers <m.wargers@hccnet.nl> with some changes by
me, r=doron, sr=jst
2004-10-24 17:33:22 +00:00
bzbarsky%mit.edu
2895167f89 DeCOMTaminate some methods on nsIStyledContent. Bug 244258, patch by jpl24
<jlurz24@gmail.com>, r+sr=bzbarsky
2004-10-24 17:10:32 +00:00
dbaron%dbaron.org
23bc4069c3 Remove partial implementation of -moz-key-equivalent that was useful for nothing other than crashing. b=265721 r+sr=bzbarsky a=asa 2004-10-24 04:43:49 +00:00
dbaron%dbaron.org
52771912ef Remove partial implementation of -moz-key-equivalent that was useful for nothing other than crashing. b=265721 r+sr=bzbarsky a=asa 2004-10-24 04:32:21 +00:00
tor%cs.brown.edu
1d8fcac4c6 Bug 244917 - implement SVG gradients. Patch by scootermorris@comcast.net.
r=sicking,afri,tor,jwatt.  Shared mozilla code sr=tor,dbaron.
2004-10-14 23:02:53 +00:00
bzbarsky%mit.edu
79fb5e53b2 Make sure to set mScannerInited when it is. Bug 263959, caught by jag 2004-10-14 15:06:04 +00:00
aaronleventhal%moonset.net
10b573a49b Bug 263685. getComputedStyle not working on -moz-outline-radius. r=roc, sr=dbaron 2004-10-14 03:32:28 +00:00
bzbarsky%mit.edu
e9d20500ed Don't create new nsCSSScanners all the time. Just make nsCSSScanner a
non-pointer member of nsCSSParser so when we recycle parsers scanners get
recycled automatically.  Bug 263959, r+sr=dbaron
2004-10-14 03:30:55 +00:00
dbaron%dbaron.org
1ddfa687dc Move CSS error reporting functions from parser to scanner so that scanner can report errors, and fix up the one existing error report in the scanner that I'd forgotten about. b=262249 r+sr=bzbarsky 2004-10-12 18:44:14 +00:00
bzbarsky%mit.edu
0341aafe1e Look at style height in addition to the height attribute for vertical
marquees.  Bug 262708, r=doron, sr=jst
2004-10-12 03:21:13 +00:00
aaronleventhal%moonset.net
b81f44f034 Nit - fixing comment for checkin to bug 24676 2004-10-10 02:50:43 +00:00
aaronleventhal%moonset.net
a65d784429 Bug 24676. Support -moz-outline-radius. r=bzbarsky, sr=roc 2004-10-10 00:51:42 +00:00
bzbarsky%mit.edu
d2a2b2a6fd Remove our broken attempt to support <plaintext> (which is very very
deprecated).  Bug 88987, r=jst, sr=dbaron
2004-10-09 16:55:54 +00:00
bmlk%gmx.de
9dbd8b92be reorganize CalCDominantBorder, reduce the number of arguments, change the border structure. make the rules handling more evident, bug 229883, With more than a little help from my friends (fantasai, boris) r/sr=bzbarsky
bustage fix
2004-10-09 12:25:31 +00:00
roc+%cs.cmu.edu
c237520c89 Bug 251162. Landing experimental implementation of CSS3 columns. r+sr=dbaron 2004-10-08 12:17:10 +00:00
bzbarsky%mit.edu
8266fddc46 Fix "normal" and "-moz-initial" values for "content" to do the right thing.
Bug 262624, r+sr=dbaron
2004-10-06 00:45:42 +00:00
bzbarsky%mit.edu
ce63bee9d7 Fix crash if insertRule() is called on an empty string. Bug 261798, r+sr=dbaron 2004-10-06 00:34:06 +00:00
dbaron%dbaron.org
338d2bb649 Add helper functions that make it easier to cache factories. b=261310 r=darin 2004-10-02 00:44:13 +00:00
mats.palmgren%bredband.net
953c3e65ee Make window.setCursor() use CSS 'cursor' property values. b=260272 r+sr=dbaron 2004-10-01 17:15:15 +00:00
bzbarsky%mit.edu
432e6d1817 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
2004-10-01 03:33:05 +00:00
bzbarsky%mit.edu
c4ff2082ae Create a GetGeometricParent() function and make people use it instead of
(incorrectly, usually) rolling their own.  Bug 191151, initial cut of patch by
jkeiser back when, r+sr=roc
2004-09-30 22:39:28 +00:00
bzbarsky%mit.edu
b44e807062 Remove parsing of play-during property, since we don't support it anyway and
it's gone from CSS2.1 and CSS3.  Bug 258079, r+sr=dbaron
2004-09-30 22:32:28 +00:00
dbaron%dbaron.org
3e283f239c Improve performance of CSS error reporting. b=261283 r+sr=bzbarsky 2004-09-30 05:18:05 +00:00
neil%parkwaycc.co.uk
474e2c5ad3 Bug 260282 <marquee> with invalid direction attribute should scroll left p=gautherie@noos.fr r=doron sr=me 2004-09-26 22:37:50 +00:00
dbaron%dbaron.org
0d3d6bc0d3 Turn on CSS error reporting. b=65469 r+sr=bzbarsky 2004-09-21 04:41:42 +00:00
dbaron%dbaron.org
908a315919 Fix bustage when CSS error reporting disabled. b=187007 2004-09-20 20:08:20 +00:00
dbaron%dbaron.org
c1a9e0bf17 Make CSS errors localizable. b=187007 r+sr=bzbarsky 2004-09-20 19:38:11 +00:00
mats.palmgren%bredband.net
0b0506f06b Remove -moz-count-* and (unused) eCursor_arrow_* cursors. b=259639 r+sr=dbaron 2004-09-19 19:49:29 +00:00
dbaron%dbaron.org
71c89e1b73 Null-check document to fix crash, and a little other cleanup. b=258843 r+sr=bzbarsky 2004-09-17 20:50:22 +00:00
mats.palmgren%bredband.net
3e2069ac91 Allow styling of SELECT border. b=244370 r+sr=bzbarsky 2004-09-15 21:17:37 +00:00
dbaron%dbaron.org
5f62984111 Add function to nsContentUtils to report a localized error message to the error console, and use it from the three places that were doing pretty much the same thing. b=187007 r+sr=bzbarsky 2004-09-14 17:26:35 +00:00
dbaron%dbaron.org
6ea0c7fb7f Fix VC7 bustage. b=258793 2004-09-13 20:40:46 +00:00
dbaron%dbaron.org
02e5799687 The slow codepaths for fixed background-attachment should only apply when there's a background image. b=258793 r+sr=roc 2004-09-13 05:39:27 +00:00
mats.palmgren%bredband.net
8c869781e3 Make 'letter-spacing' take effect in file input control. b=252863 r=bzbarsky sr=dbaron 2004-09-12 22:46:56 +00:00
dbaron%dbaron.org
34f9012e66 Backing out bug 167001, which I should not have reviewed without more careful consideration. 2004-09-12 19:32:50 +00:00
mats.palmgren%bredband.net
14b5343acd Add CSS3 cursors, bug 163174, r=lordpixel@mac.com r=pinkerton@aol.net sr=dbaron@dbaron.org 2004-09-11 23:24:30 +00:00
bmlk%gmx.de
002c0c28fc 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 2004-09-11 06:13:47 +00:00
smontagu%smontagu.org
c86afdf533 Bug 167001, Anything below the baseline goes out of input field. Patch by Masayuki Nakano, masayuki@d-toybox.com; r+sr=dbaron. 2004-09-11 05:44:33 +00:00
dbaron%dbaron.org
2afd699c4e Separate sheet URI and base URI for style attributes and for CSS parsing from DOM APIs. b=258707 r+sr=bzbarsky 2004-09-10 23:31:48 +00:00
dbaron%dbaron.org
a095f39235 Fix DEBUG bustage. b=255538 2004-09-10 09:31:10 +00:00
dbaron%dbaron.org
96c0e36f4e Separate concept of stylesheet URI into base URI (for resolving relative links) and sheet URI (for everything else), since they can differ for style elements (and inline style and style set from script, but that's for the next patch). Some other things (relating to external stylesheets, where it doesn't make a difference) that probably should use the sheet URL are left as the base URL for now because I didn't want to change too much at once. b=255538 r+sr=bzbarsky 2004-09-10 06:45:59 +00:00
bzbarsky%mit.edu
df42e726bc Combine WalkRules and UseDocumentRules into one function. Bug 244252,
r=bryner, sr=dbaron
2004-09-10 04:57:30 +00:00
bzbarsky%mit.edu
994c0e7ca2 Fix build bustage. 2004-09-10 03:52:48 +00:00
bzbarsky%mit.edu
a8a6ecf161 Add nsCSSValuePair type and use it for storage of some properties. Bug 208729,
r+sr=dbaron
2004-09-10 03:26:58 +00:00
dbaron%dbaron.org
9e2cdf2204 Pass line number information for style elements through to the CSS parser so we can give correct line numbers in error reports. b=240420 r+sr=bzbarsky 2004-09-09 17:32:35 +00:00
dbaron%dbaron.org
f8dbaa44ac Fix serialization of declaration blocks containing 'overflow' and the bugs that causes. b=258300 r+sr=bzbarsky 2004-09-08 05:42:03 +00:00
bryner%brianryner.com
5e7349dd5d Fixes for a number of native theme button problems on gtk2 (bug 255911). In order to more easily accomodate CSS fallbacks for when native theme rendering is not available, this adds GetWidgetPadding() to nsITheme, which allows the native theme impl to supply padding values which will override the css padding. This way, padding for the css fallback can be given without having it be added to the padding that's part of the native theme-rendered border. r=caillon, sr=roc. 2004-09-06 03:59:31 +00:00
dbaron%dbaron.org
3827991ce7 Land bug 72747 in pieces: Implement overflow-x and overflow-y. b=72747 r+sr=roc 2004-09-05 00:04:04 +00:00
dbaron%dbaron.org
9a61205ad8 Back out text input changes from bug 72747. 2004-09-04 03:17:18 +00:00
dbaron%dbaron.org
d2d8096ade Land bug 72747 in pieces: use CSS instead of C++ to ensure single line text inputs don't have scrollbars. b=72747 r+sr=roc 2004-09-03 23:22:15 +00:00
dbaron%dbaron.org
d8f8c8bde9 Land bug 72747 in pieces: add functions for common overflow tests to nsStyleDisplay. b=72747 r+sr=roc 2004-09-02 23:18:37 +00:00
bryner%brianryner.com
d082d2bf5e More nsIPresShell deCOMtamination:
- Made Get/SetAuthorStyleDisabled and ReconstructStyleData non-virtual when called internally.
- Inlined GetFrameSelection and renamed it to FrameSelection.
- Removed non-inline version of GetViewManager.
- Removed unused EnablePrefStyleRules and ArePrefStyleRulesEnabled.

Bug 253889, r+sr=roc.
2004-08-29 03:08:44 +00:00
dbaron%dbaron.org
c200b49750 Back out the rest of bug 72747 due to Tp regression. 2004-08-27 01:26:55 +00:00
dbaron%dbaron.org
c1681a238f Backout the CSS parts of bug 72747 to see if that fixes the Tp regression. 2004-08-26 22:35:38 +00:00
dbaron%dbaron.org
00a887382c Fix debug bustage. b=72747 2004-08-26 19:12:05 +00:00
dbaron%dbaron.org
5948a3cb75 Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc 2004-08-26 17:11:20 +00:00
roc+%cs.cmu.edu
dba4f07f62 Bug 133165. Draw the outline outside the frame's normal overflow area. r+sr=dbaron. Also, correct some trivial misuses of nsChangeHint, r+sr=mozbot 2004-08-26 00:07:56 +00:00
tor%cs.brown.edu
0c326e84e7 Bug 216563 - implement <svg:switch>.
Patch by scootermorris@comcast.net, r=afri, sr=dbaron
2004-08-23 21:10:39 +00:00
dbaron%dbaron.org
9816849d39 Make nsCSSValue constructors explicit and fix obscure regression from rule tree landing. b=256270 r+sr=bzbarsky 2004-08-20 20:55:17 +00:00
bryner%brianryner.com
180b0b7373 Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc. 2004-08-20 20:34:37 +00:00
kyle.yuan%sun.com
bb45fcc626 Backout the patch for 251492. Need a better solution for that. 2004-08-19 06:33:20 +00:00
kyle.yuan%sun.com
65b3fef078 Bug 251492 [gnome]selected item text wrong color in high-contrast themes
r=bryner, sr=roc, patch by ginn.chen@sun.com
2004-08-19 02:23:15 +00:00
timeless%mozdev.org
d0e42efd8e Bug 253539 Report origin url for css mime warnings/errors
r=bz sr=bz a=asa
2004-08-18 02:32:25 +00:00
tor%cs.brown.edu
8b7a521e30 Bug 254771 - Remove AssertNoCSSRules(lastPresHintRN, lastAgentRN) from
nsStyleSet::FileRules.  Patch by jonathan.watt@strath.ac.uk, r=bz, sr=dbaron
2004-08-10 15:59:30 +00:00
bzbarsky%mit.edu
94990b951c Do style reresolves and restyles due to attribute changes asynchronously so
that pages that modify two or more style properties of the same object in a row
work faster.  Bug 230170, r+sr=dbaron
2004-08-10 03:24:41 +00:00
dbaron%dbaron.org
94bc9d26c8 Fix names of constants to correspond to the new definitions of the values of the 'overflow' property. b=69355 r+sr=roc 2004-08-10 01:32:10 +00:00
tor%cs.brown.edu
30b7993601 Bug 234789 - SVG text ignores font-size if no unit specified.
Patch by scootermorris@comcast.net, r=tor, sr=dbaron.
2004-08-10 00:02:47 +00:00
mats.palmgren%bredband.net
9f3cd71287 Added font-size:inherit to optgroup, so that the select font-size affects options. b=185098 r+sr=bzbarsky 2004-08-08 18:44:09 +00:00
darin%meer.net
7fad093c68 fixing win32 debug bustage 2004-08-06 19:48:04 +00:00
darin%meer.net
be2edb1976 fixing win32 debug bustage; we really need a debug tinderbox!! 2004-08-06 19:42:47 +00:00
dbaron%dbaron.org
e9896c1d58 Fix Windows bustage by making these virtual again, at least for now (the only cost of which should be bloating some vtables). b=238099 2004-08-05 19:10:16 +00:00
dbaron%dbaron.org
53d986e97b Attempt to fix Windows bustage. b=238099 2004-08-05 18:44:42 +00:00
dbaron%dbaron.org
d35f39cc02 Implement @-moz-document at-rule for site-specific rules, particularly in user stylesheets. b=238099 r+sr=bzbarsky 2004-08-05 18:26:14 +00:00
neil%parkwaycc.co.uk
a33872e9fe Bug 32372 should be possible to completely disable CSS p=fantasai@inkedblade.net r=me (xpfe) r/sr=dbaron 2004-08-05 11:38:42 +00:00
dbaron%dbaron.org
d90e0e1222 Give nsCSSStyleSheet a header file and rename the class in preparation for deCOMtamination. b=239008 r+sr=bzbarsky 2004-08-04 03:27:28 +00:00