2251 Commits

Author SHA1 Message Date
dbaron%dbaron.org
58f19edbad Improve performance of CSS error reporting. b=261283 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162996 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-30 05:18:05 +00:00
neil%parkwaycc.co.uk
1e6e5a6511 Bug 260282 <marquee> with invalid direction attribute should scroll left p=gautherie@noos.fr r=doron sr=me
git-svn-id: svn://10.0.0.236/trunk@162827 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-26 22:37:50 +00:00
dbaron%dbaron.org
40677d0de3 Turn on CSS error reporting. b=65469 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162579 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-21 04:41:42 +00:00
dbaron%dbaron.org
123881d207 Fix bustage when CSS error reporting disabled. b=187007
git-svn-id: svn://10.0.0.236/trunk@162555 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-20 20:08:20 +00:00
dbaron%dbaron.org
00ee6e5230 Make CSS errors localizable. b=187007 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162553 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-20 19:38:11 +00:00
mats.palmgren%bredband.net
3b5f384b21 Remove -moz-count-* and (unused) eCursor_arrow_* cursors. b=259639 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@162532 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-19 19:49:29 +00:00
dbaron%dbaron.org
807b635c41 Null-check document to fix crash, and a little other cleanup. b=258843 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162512 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-17 20:50:22 +00:00
mats.palmgren%bredband.net
4424e43f2f Allow styling of SELECT border. b=244370 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162414 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-15 21:17:37 +00:00
dbaron%dbaron.org
e8bca4edc1 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
git-svn-id: svn://10.0.0.236/trunk@162314 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 17:26:35 +00:00
dbaron%dbaron.org
72c1cdb87b Fix VC7 bustage. b=258793
git-svn-id: svn://10.0.0.236/trunk@162242 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-13 20:40:46 +00:00
dbaron%dbaron.org
bbe291225f The slow codepaths for fixed background-attachment should only apply when there's a background image. b=258793 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@162195 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-13 05:39:27 +00:00
mats.palmgren%bredband.net
1cbbbb7f10 Make 'letter-spacing' take effect in file input control. b=252863 r=bzbarsky sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@162184 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-12 22:46:56 +00:00
dbaron%dbaron.org
3956b19b41 Backing out bug 167001, which I should not have reviewed without more careful consideration.
git-svn-id: svn://10.0.0.236/trunk@162168 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-12 19:32:50 +00:00
mats.palmgren%bredband.net
d613fa7dee Add CSS3 cursors, bug 163174, r=lordpixel@mac.com r=pinkerton@aol.net sr=dbaron@dbaron.org
git-svn-id: svn://10.0.0.236/trunk@162144 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-11 23:24:30 +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
smontagu%smontagu.org
0abf27ba72 Bug 167001, Anything below the baseline goes out of input field. Patch by Masayuki Nakano, masayuki@d-toybox.com; r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@162131 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-11 05:44:33 +00:00
dbaron%dbaron.org
0c2068f65a Separate sheet URI and base URI for style attributes and for CSS parsing from DOM APIs. b=258707 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162122 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-10 23:31:48 +00:00
dbaron%dbaron.org
af8931a4f1 Fix DEBUG bustage. b=255538
git-svn-id: svn://10.0.0.236/trunk@162071 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-10 09:31:10 +00:00
dbaron%dbaron.org
a4ca9058c6 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
git-svn-id: svn://10.0.0.236/trunk@162059 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-10 06:45:59 +00:00
bzbarsky%mit.edu
b74edc231a Combine WalkRules and UseDocumentRules into one function. Bug 244252,
r=bryner, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@162054 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-10 04:57:30 +00:00
bzbarsky%mit.edu
0d5a66a19f Fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@162051 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-10 03:52:48 +00:00
bzbarsky%mit.edu
f3fd99f0a7 Add nsCSSValuePair type and use it for storage of some properties. Bug 208729,
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@162049 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-10 03:26:58 +00:00
dbaron%dbaron.org
d116431504 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
git-svn-id: svn://10.0.0.236/trunk@161992 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-09 17:32:35 +00:00
dbaron%dbaron.org
d788090231 Fix serialization of declaration blocks containing 'overflow' and the bugs that causes. b=258300 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@161907 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-08 05:42:03 +00:00
bryner%brianryner.com
199fa502ee 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.
git-svn-id: svn://10.0.0.236/trunk@161808 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-06 03:59:31 +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
09307f3c9f Back out text input changes from bug 72747.
git-svn-id: svn://10.0.0.236/trunk@161742 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 03:17:18 +00:00
dbaron%dbaron.org
76aef2c246 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
git-svn-id: svn://10.0.0.236/trunk@161732 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-03 23:22:15 +00:00
dbaron%dbaron.org
30c83961ca Land bug 72747 in pieces: add functions for common overflow tests to nsStyleDisplay. b=72747 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161681 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-02 23:18:37 +00:00
bryner%brianryner.com
43628f9edf 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.


git-svn-id: svn://10.0.0.236/trunk@161442 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-29 03:08:44 +00:00
dbaron%dbaron.org
dcf4bae71a Back out the rest of bug 72747 due to Tp regression.
git-svn-id: svn://10.0.0.236/trunk@161373 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-27 01:26:55 +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
dbaron%dbaron.org
ed6372cf2f 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
git-svn-id: svn://10.0.0.236/trunk@161333 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 17:11:20 +00:00
roc+%cs.cmu.edu
d82b9d3db0 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
git-svn-id: svn://10.0.0.236/trunk@161292 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 00:07:56 +00:00
tor%cs.brown.edu
da01ea4deb Bug 216563 - implement <svg:switch>.
Patch by scootermorris@comcast.net, r=afri, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@161152 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-23 21:10:39 +00:00
dbaron%dbaron.org
ba07da6cf7 Make nsCSSValue constructors explicit and fix obscure regression from rule tree landing. b=256270 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@161075 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-20 20:55:17 +00:00
bryner%brianryner.com
2dbfb983b1 Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@161072 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-20 20:34:37 +00:00
kyle.yuan%sun.com
c5830cf601 Backout the patch for 251492. Need a better solution for that.
git-svn-id: svn://10.0.0.236/trunk@160978 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-19 06:33:20 +00:00
kyle.yuan%sun.com
90036dfc22 Bug 251492 [gnome]selected item text wrong color in high-contrast themes
r=bryner, sr=roc, patch by ginn.chen@sun.com


git-svn-id: svn://10.0.0.236/trunk@160970 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-19 02:23:15 +00:00
timeless%mozdev.org
5f942cda70 Bug 253539 Report origin url for css mime warnings/errors
r=bz sr=bz a=asa


git-svn-id: svn://10.0.0.236/trunk@160886 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-18 02:32:25 +00:00
tor%cs.brown.edu
8f57a74d59 Bug 254771 - Remove AssertNoCSSRules(lastPresHintRN, lastAgentRN) from
nsStyleSet::FileRules.  Patch by jonathan.watt@strath.ac.uk, r=bz, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@160607 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 15:59:30 +00:00
bzbarsky%mit.edu
bc3dc7ebe0 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


git-svn-id: svn://10.0.0.236/trunk@160587 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 03:24:41 +00:00
dbaron%dbaron.org
dda1e6cda9 Fix names of constants to correspond to the new definitions of the values of the 'overflow' property. b=69355 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@160586 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 01:32:10 +00:00
tor%cs.brown.edu
20578e63ca Bug 234789 - SVG text ignores font-size if no unit specified.
Patch by scootermorris@comcast.net, r=tor, sr=dbaron.


git-svn-id: svn://10.0.0.236/trunk@160579 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 00:02:47 +00:00
mats.palmgren%bredband.net
ccc2d90fde Added font-size:inherit to optgroup, so that the select font-size affects options. b=185098 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@160497 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-08 18:44:09 +00:00
darin%meer.net
af6e1f6a92 fixing win32 debug bustage
git-svn-id: svn://10.0.0.236/trunk@160457 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-06 19:48:04 +00:00
darin%meer.net
8c48fd6972 fixing win32 debug bustage; we really need a debug tinderbox!!
git-svn-id: svn://10.0.0.236/trunk@160456 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-06 19:42:47 +00:00
dbaron%dbaron.org
e51e8e70e0 Fix Windows bustage by making these virtual again, at least for now (the only cost of which should be bloating some vtables). b=238099
git-svn-id: svn://10.0.0.236/trunk@160409 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-05 19:10:16 +00:00
dbaron%dbaron.org
e29b7fd0e4 Attempt to fix Windows bustage. b=238099
git-svn-id: svn://10.0.0.236/trunk@160407 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-05 18:44:42 +00:00