Commit Graph

2557 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
ad80f2b24f Fix bug 349695 by taking a different approach to setting display:none on HTML
forms inside tables; this approach overrides author styles.  r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@208472 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-25 22:33:17 +00:00
sayrer%gmail.com
43bfe6cd65 bug 349170. nsCSSValue should use nsMemory allocators. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@208387 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-25 03:27:47 +00:00
myk%mozilla.org
d4304c6d5a fix crash when restarting for update [@ nsCSSStyleSheet::SetComplete]
Patch by Boris Zbarsky.
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@207713 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-17 08:16:41 +00:00
bzbarsky%mit.edu
36b317d733 Implement the :default CSS3 pseudo-class. Bug 302186, patch by Allan Beaufour
<allan@beaufour.dk> and jpl24 <jlurz24@gmail.com>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@207539 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-16 03:20:19 +00:00
bzbarsky%mit.edu
b0805a03a5 Address review comments from bug 285727. Bug 348455, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@207520 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-16 00:28:39 +00:00
bzbarsky%mit.edu
a2132179a7 Deal with flex values that add up to too much. Bug 345709, r=neil, sr=roc
git-svn-id: svn://10.0.0.236/trunk@207402 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-15 01:08:00 +00:00
cvshook%sicking.cc
a55f9fd9d1 Back out patch from bug 324501 as this is not the right fix. r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@207033 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-10 04:16:29 +00:00
bzbarsky%mit.edu
3ee1b00aa6 Move the location of "opacity" in the list so it's easier to find. Bug 337874,
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@206835 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-08 16:41:03 +00:00
smontagu%smontagu.org
f1c56eaa96 Bidi support for alternate text: reorder the text correctly, align text and icon to the right when direction is right-to-left, and create a bidi embedding when the alternate text is displayed inline. Bug 345954, r=uriber, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@206117 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-31 07:08:45 +00:00
dbaron%dbaron.org
6bf2db1853 Fix incorrectly-written assertion. b=345620 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@203728 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-26 16:23:49 +00:00
mats.palmgren%bredband.net
8e6d4194c5 Add float:none and position:static !important for <option> and <optgroup>. b=343510 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@203632 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-25 16:16:30 +00:00
cvshook%sicking.cc
365266c686 Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@203078 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 04:36:36 +00:00
bzbarsky%mit.edu
ef72409e29 Null-check the frame before trying to work with it. Bug 315483, patch by jpl24
<jlurz24@gmail.com>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@203011 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 19:33:55 +00:00
mark%moxienet.com
03b0992e57 344570 Make contextual menus look more native on the Mac. r=josh sr=bryner
git-svn-id: svn://10.0.0.236/trunk@202171 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-14 19:54:08 +00:00
nick.kreeger%park.edu
d463bf7579 Fix bug 324501, Search field input box renders with unnecessary boder. Patch by Smokey Ardisson <alqahira@mindspring.com> r=Chris Lawson, sr=smfr, dveditz=branch approval 1.8.0 and 1.8.1. Landing 1.8.0, 1.8, and trunk.
git-svn-id: svn://10.0.0.236/trunk@199946 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-15 03:45:42 +00:00
roc+%cs.cmu.edu
29cf24ae1d Bug 331883. Restrict anonymous box selectors to agent/user style sheets. r+sr=dbaron/bzbarsky
git-svn-id: svn://10.0.0.236/trunk@199937 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-15 03:20:19 +00:00
joshmoz%gmail.com
910e575ee4 selection highlight color changed in 0.5+ to no longer use system selection color. b=240320 r=josh sr=roc
git-svn-id: svn://10.0.0.236/trunk@199742 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-12 19:33:07 +00:00
roc+%cs.cmu.edu
5fb800535d Bug 331432. Move SVG-specific rule to svg.css, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@199687 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-12 04:27:10 +00:00
bzbarsky%mit.edu
0e81ab301b Make stylesheet service sheets apply dynamically. Bug 335689, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@199502 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-08 14:32:20 +00:00
roc+%cs.cmu.edu
bd68061f3c Bug 331432. Split nsSVGForeignObjectFrame into a pure SVG frame containing an anonymous block child, to avoid state bit collisions and simplify things. Also fixes configure.in so that foreignObject is really enabled by default in cairo builds. r=tor,sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@199164 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-06 23:13:15 +00:00
mats.palmgren%bredband.net
4397567068 Don't let Peek() change 'mLastRead' because it makes a subsequent Unread() restore the wrong char. b=321518 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@198969 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-03 22:29:20 +00:00
tor%cs.brown.edu
2ea2511bfd Backout of bug 339358.
git-svn-id: svn://10.0.0.236/trunk@198646 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-30 16:15:35 +00:00
enndeakin%sympatico.ca
add54323c7 Bug 290255, add xul scale widget, r=mconnor,roc sr=neil,roc
git-svn-id: svn://10.0.0.236/trunk@198629 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-30 13:50:48 +00:00
tor%cs.brown.edu
8e66cf9d08 Bug 339358 - shrink nsStyleSVG by using bitfields. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@198512 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-27 16:40:58 +00:00
gavin%gavinsharp.com
fa5240b78f Bug 265871: rename JavaScript console to Error console, patch by Kurt <supernova_00@yahoo.com>, r=mconnor, ui-r=beltzner, sr=neil/bzbarsky
git-svn-id: svn://10.0.0.236/trunk@198424 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-25 21:22:32 +00:00
Olli.Pettay%helsinki.fi
fe4e09853e Bug 338122, Crash [@ nsIMEStateManager::IsActive] when window gets removed on mousedown at button, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@197990 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-19 10:26:44 +00:00
cvshook%sicking.cc
5a27cf2ab0 Bug 335913: Reimplement CompareDocumentPosition using nsINode interfaces. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@196677 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-16 15:52:45 +00:00
cvshook%sicking.cc
805a3ca029 Bug 335913: Reimplement CompareDocumentPosition using nsINode interfaces. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@196676 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-16 15:50:47 +00:00
bmlk%gmx.de
0676c7f78f remove crash prone from hack from frame construction and replace it with a hardcoded style rule bug 285727 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@196481 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-14 13:34:32 +00:00
darin%meer.net
42edf059cf landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
cvshook%sicking.cc
cec9ea1123 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@196009 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 06:52:21 +00:00
dbaron%dbaron.org
a2628b4f7a Remove unused (and sometimes buggy) DEBUG code. b=336323 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@195889 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-03 04:26:28 +00:00
dbaron%dbaron.org
40f5c57271 Make static some nsCSSDeclaration methods that don't need their this. b=336322 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@195856 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-02 23:36:17 +00:00
dbaron%dbaron.org
b4b6b65828 Fix leak when cloning negations caused by previous patch. b=333634 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@195655 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-28 18:02:53 +00:00
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
db9c24c976 Missed an out-of-memory check. b=335729 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@195613 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 23:56:53 +00:00
dbaron%dbaron.org
4774b40871 nsRuleNode should not have a virtual destructor (and thus vtable pointer). b=335630 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@195587 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 20:01:59 +00:00
dbaron%dbaron.org
73b1c5e452 Move assertion up to where we have a chance of actually seeing it.
git-svn-id: svn://10.0.0.236/trunk@195580 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 18:23:30 +00:00
dbaron%dbaron.org
2d6aef0ed0 Destroy chained RuleProcessorData interatively. b=323504 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@195492 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 00:35:05 +00:00
dbaron%dbaron.org
da1715c1ff Do iterative cloning and destruction of linked list selector data structures. b=333634 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@195395 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-25 21:48:11 +00:00
bzbarsky%mit.edu
56bf4221c4 Make sure our IMAGE_NONE flag is always in sync with whether we have a
background image.  Bug 311526 followup, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@195083 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 17:52:14 +00:00
dbaron%dbaron.org
bb49723daa Fix crash relating to uninitialized floats in cursor structure, and make imagemap images use the cursor style of the areas when in them (instead of the cursor style from the image) and the cursor style of the image when not in the areas (instead of a hardcoded default). b=302536 r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@194992 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 21:02:10 +00:00
bzbarsky%mit.edu
b83ab3e969 Only parse those XUL display styles that we can actually construct. Bug
312120, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@194677 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-19 15:10:50 +00:00
dbaron%dbaron.org
dd1a0c2703 Put back CheckColorCallback from bug 332333 despite its being part of a slight Tp regression.
git-svn-id: svn://10.0.0.236/trunk@194473 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-16 06:41:25 +00:00
dbaron%dbaron.org
82df697dd4 Back out the piece of bug 332333 that I think regressed Tp.
git-svn-id: svn://10.0.0.236/trunk@194467 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-15 18:47:59 +00:00
uriber%gmail.com
1ed23fcb6e Bug 333243: Options inside <optgroup>s in RTL <selects>s are not indented. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@194454 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-15 07:39:46 +00:00
dbaron%dbaron.org
40ad3b0e51 Use macros for the beginning and end of nsRuleNode::Compute*Data. b=332333 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@194452 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-15 07:17:43 +00:00
benjamin%smedbergs.us
6e24a5d20a Freeze nsIArray (requires separating nsIMutableArray into another .idl file); also removes NS_NewArray and moves do_QueryElementAt into the glue, r=darin
git-svn-id: svn://10.0.0.236/trunk@194221 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-12 15:43:32 +00:00
dbaron%dbaron.org
9911a9b756 Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
git-svn-id: svn://10.0.0.236/trunk@193572 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 00:00:44 +00:00
dbaron%dbaron.org
96844bf90f Split the nsCSSRuleProcessor half of nsCSSStyleSheet.cpp into nsCSSRuleProcessor.cpp. b=332136 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@193459 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-03 23:52:17 +00:00