1564 Commits

Author SHA1 Message Date
bryner%netscape.com
22fc00b640 Hook up the :checked CSS pseudoclass for input elements and use that instead of the _moz-input-checked attribute. Bug 128947, r=jkeiser, sr=ben, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@116476 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-13 10:12:33 +00:00
bzbarsky%mit.edu
92cd4ef616 XBL expects computed -moz-binding to not have "url()" and to be empty
string for no binding.  Bug 128428 redux, patch by
caillon@returnzero.com (Christopher Aillon), r=bzbarsky, sr=shaver,
a=brendan


git-svn-id: svn://10.0.0.236/trunk@116460 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-13 02:33:09 +00:00
heikki%netscape.com
2583fca360 Bug 129608, moving XML parsererror into its own namespace along with the CSS rules so it won't mess up with web pages using parsererror and sourcetext tags. Clean up the content tree before parser error. Also removing dead files. r=harishd, sr=jst, a=roc+moz@cs.cmu.edu.
git-svn-id: svn://10.0.0.236/trunk@116432 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 22:17:18 +00:00
bryner%netscape.com
97fd40e754 Changing XUL menus to use a :-moz-menuactive pseudoclass rather than a menuactive attribute for styling the active item. This will allow XBL select widgets to not modify the HTML DOM. Bug 128947, r=dbaron, sr=hyatt, a=asa.
git-svn-id: svn://10.0.0.236/trunk@116424 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 21:49:23 +00:00
bzbarsky%mit.edu
e74ceedc1d Implement directional, list, cursor properties. Bug 128428, patch by
caillon@returnzero.com (Christopher Aillon), r=bzbarsky, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@116422 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 21:16:22 +00:00
karnaze%netscape.com
1c08f43c69 bug 105742 - paint the outline of an image after the image content. a=roc, sr=attinasi, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@116407 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 15:35:52 +00:00
bzbarsky%mit.edu
ea8a36ff35 Fix hang when style.cssText is set to an unrecognized value. Bug
129927, r=dbaron, sr=jst, a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@116404 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 15:28:27 +00:00
mkaply%us.ibm.com
3fa5718c88 #125432
r=pedemont, sr=blizzard, a=roc+moz
OS/2 only - use the web page font for entryfields, buttons, and lists since our chrome font is a bitmap font that can't be scaled.


git-svn-id: svn://10.0.0.236/trunk@116400 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 15:07:47 +00:00
bzbarsky%mit.edu
884cc3df92 Shrink nsROCSSPrimitiveValue and add support for CSS_NUMBER type. Bug
129469, r=caillon, sr=jst, a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@116158 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 19:04:15 +00:00
dbaron%fas.harvard.edu
27328a7fcd Fix |#ifdef CSS_REPORT_PARSE_ERRORS| (not part of default build) bustage from darin's checkin for bug 124042.
git-svn-id: svn://10.0.0.236/trunk@116126 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 02:25:59 +00:00
dbaron%fas.harvard.edu
564273d1d2 Fix top theme switching crash by clearing the outliner's style caches from DidSetStyleContext instead of FlushMiscWidgetInfo. b=116038 sr=hyatt r=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@116103 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 23:48:26 +00:00
bryner%netscape.com
01634657fa - Implement the :checked CSS pseudoclass which maps to the "selected" property on option elements.
- Eliminate the _moz-option-selected attribute; move the actual selected state into the option content node.
- Change all users of _moz-option-selected to use :checked.
- Add a third parameter to nsIDocument[Observer]::ContentStatesChanged to indicate which pseudoclass changed, this is used for optimizing handling of :checked state changes.

Bug 128947, r=dbaron, sr=jst, a=asa.


git-svn-id: svn://10.0.0.236/trunk@116029 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 03:34:29 +00:00
darin%netscape.com
04849998e1 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
bzbarsky%mit.edu
6cd8bbc150 Implement getComputedStyle for text properties. Bug 126319, patch by
caillon@returnzero.com (Christopher Aillon), r=bzbarsky, sr=attinasi,
a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@115682 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 19:44:41 +00:00
dbaron%fas.harvard.edu
6ef2ae37f0 Fix typo in nsRuleNode::ClearCachedDataInSubtree so it only clears data associated with |aRule|. This fixes a crash since nsStyleContext::ClearStyleData didn't make the same mistake and clean up dangling pointers to the incorrectly deleted data. b=105619 r=bzbarsky sr=brendan a=shaver
git-svn-id: svn://10.0.0.236/trunk@115660 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 00:02:00 +00:00
bzbarsky%mit.edu
b2eb75e1c1 Make view-source a lot faster on bidi pages by breaking up the page into
multiple blocks.  Bug 86355, r=rbs, sr=jst, a=asa/shaver


git-svn-id: svn://10.0.0.236/trunk@115533 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 00:07:48 +00:00
rods%netscape.com
3f1aeb458d disable user-input for Print Preview
Bug 120745 r=dcone sr=attinasi a=asa


git-svn-id: svn://10.0.0.236/trunk@115350 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 03:30:51 +00:00
bzbarsky%mit.edu
2d59fcc183 Alternate sheets should be able to import other alternate sheets with no
trouble.  Bug 52105, r=dbaron, sr=attinasi, a=shaver


git-svn-id: svn://10.0.0.236/trunk@115324 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 22:26:26 +00:00
cmanske%netscape.com
2f6c26846e Fix selection of image on click, b=123727, r=brade, sr=kin, a=asa/drivers
git-svn-id: svn://10.0.0.236/trunk@115273 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 06:54:41 +00:00
timeless%mac.com
15674e14d6 Bug 126667 ../../../../dist/include/content/nsCSSDeclaration.h:657: warning: comparison is always true due to limited range of data type
r=bbaetz,pink sr=alecf a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@115225 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 11:58:22 +00:00
bzbarsky%mit.edu
0876fd184e Fix parsing of some edge cases of background shorthand. Bug 124193,
r=pierre, sr=attinasi, a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@115182 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 00:25:57 +00:00
bernd.mielke%snafu.de
764a1f1e58 patch by fantasai - removing standard table background painting as our old quirks mode background
painting is now more CSS2 compliant (the w3c published a errata) bug 4510
r=karnaze sr=attinasi a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@115144 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 05:36:16 +00:00
dbaron%fas.harvard.edu
b1582a7dc4 Fix regression that prevented 'font-size' from applying to list numbers. b=110360 sr=attinasi r=karnaze a=roc
git-svn-id: svn://10.0.0.236/trunk@115128 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 01:36:16 +00:00
alecf%netscape.com
f85a67075e one part of fix for bug 107575 - clean up consumers of nsString::EqualsIgnoreCase and nsString::EqualsWithConversion, to be explicit about case-insensitive compares
r=timeless sr=jag


git-svn-id: svn://10.0.0.236/trunk@114971 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:49:12 +00:00
bryner%netscape.com
a58dd42daf fixing 152 compiler warnings (bug 126336). r=glazman, sr=ben.
git-svn-id: svn://10.0.0.236/trunk@114961 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:19:44 +00:00
smontagu%netscape.com
d0afe74092 Converting bidi utilities to non-XPCOM interfaces. Bug 120818; r=mkaply, nhotta; sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114942 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 20:41:32 +00:00
karnaze%netscape.com
430941b018 bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@114937 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 15:48:28 +00:00
bzbarsky%mit.edu
d9113378ce Leave rules with empty decl blocks in the sheet so they're picked up by
the DOM.  Bug 112854, r=dbaron, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@114872 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 02:27:38 +00:00
dbaron%fas.harvard.edu
84d82a83f8 Fix the interaction of text zoom with the sizing code for generic fonts. b=125963 r=rbs sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114868 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 02:11:57 +00:00
dbaron%fas.harvard.edu
1cc61e485b Create a small service in the content library to allow inspector to avoid bad link-time dependencies on CSS code. b=79091 r=attinasi,beard sr=shaver
git-svn-id: svn://10.0.0.236/trunk@114867 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 02:09:06 +00:00
timeless%mac.com
c0e0ef41ce Bug 125778 Implement getComputedStyle() for {min|max}-{height|width} properties
patch by caillon@returnzero.com r=bzbarsky sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@114819 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 22:54:15 +00:00
dbaron%fas.harvard.edu
0feda16c3c Fix one more comment that uses "inherit" incorrectly.
git-svn-id: svn://10.0.0.236/trunk@114716 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 02:03:07 +00:00
dbaron%fas.harvard.edu
5ef0589c9c Restore optimization of getting data from parent context only when there is actually inheritance (except correctly this time), to prevent unnecessary struct computation and creation. Rename nsRuleNode::mInheritBits to mDependentBits. Use none bits (and thus prevent struct recomputation and copying) in the case where explicit inheritance overrides a non-inherited specified value, but still only for inherited structs. Other minor cleanup. b=113098 sr=hyatt r=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@114714 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 01:53:40 +00:00
dbaron%fas.harvard.edu
5ed6553b0d Make debugging |List| functions |#ifdef DEBUG|. b=122817 r=glazman sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114697 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 16:50:45 +00:00
dbaron%fas.harvard.edu
d5b6a2cebe Change the implementation of text zoom so that the zooming happens in the style system. This causes 'em' and similar units to be zoomed as well. Also scale physical / pixel 'line-height' values. b=41847 r=attinasi sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@114694 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 16:24:25 +00:00
cbiesinger%web.de
ffe7bd2072 bug 125716 r=bzbarsky sr=attinasi patch by caillon@returnzero.com
Implement getComputedStyle() for 'overflow' property


git-svn-id: svn://10.0.0.236/trunk@114691 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 13:16:10 +00:00
jshin%mailaps.org
9965dab7c4 Add CS Styles for Ethiopian/Eritrean Languages (per
info. presented at http://www.ethiopic.org/Collation/OrderedLists.html
by yacob@geez.org).
bug 102252, r=dbaron@fas.harvard.edu, sr=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@114578 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 09:21:08 +00:00
karnaze%netscape.com
055c809419 bug 125426 - terminate xul style data when writing regression data. sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@114507 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 14:54:06 +00:00
bryner%netscape.com
cb41e9c364 adding new theme constant, NS_THEME_DROPDOWN_TEXTFIELD. bug 124560, r=bzbarsky/pinkerton, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@114218 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 00:44:36 +00:00
bzbarsky%mit.edu
f68919f405 Relanding the Compare --> Equals conversion. a=mcafee
git-svn-id: svn://10.0.0.236/trunk@114163 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu
2ab4074373 Testing performance impact of backout of part of patch from bug 115289.
See bug 123947 for details.


git-svn-id: svn://10.0.0.236/trunk@114146 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 16:10:51 +00:00
timeless%mac.com
092ea531fa Bug 33601ÿfixing warnings about switch(enumVar){case onlyOne: {}}
adds a default case. also removing an else after return.

r=roc+moz@cs.cmu.edu sr=alecf


git-svn-id: svn://10.0.0.236/trunk@113941 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 00:05:16 +00:00
pinkerton%netscape.com
46d542dcc5 ifdef-fu for mach-o. rs=hyatt
git-svn-id: svn://10.0.0.236/trunk@113797 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 15:42:06 +00:00
bzbarsky%mit.edu
2fd80b82c9 Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag


git-svn-id: svn://10.0.0.236/trunk@113665 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 02:03:07 +00:00
cathleen%netscape.com
ec77313291 eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan
git-svn-id: svn://10.0.0.236/trunk@113659 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 01:41:13 +00:00
blakeross%telocity.com
6a2f5ed18a 39070 - can't dnd images or <areas>. r=ben sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@113544 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-03 00:06:12 +00:00
cathleen%netscape.com
dd8ebc5bd1 eliminate nsCRT::zero() to use memset to zero instead, bug 118135, r=dp sr=waterson
git-svn-id: svn://10.0.0.236/trunk@113183 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 02:55:57 +00:00
pinkerton%netscape.com
a7cee19a47 twisties, upside down tabs, and tree implementation on mac. Also adding constants for window, menu, and dialog backgrounds XP. bug 115747, r=sdagley/sr=hyatt,sfraser.
git-svn-id: svn://10.0.0.236/trunk@113139 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 21:10:57 +00:00
roc+%cs.cmu.edu
9e52ce4c8a Bug 33601. Force REFRAME style hints if views might need to be created in response to opacity or background-attachment style changes. r=dbaron,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@112990 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 07:53:27 +00:00
rods%netscape.com
fb493821d3 Adding new Frame to clip content area of page for Printing and PrintPreview
Bug 112698 r=dcone sr=waterson


git-svn-id: svn://10.0.0.236/trunk@112856 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 14:30:14 +00:00