dbaron%dbaron.org
b392b6f1bb
Attempt to follow the SVG spec rules on where SVG elements should be ignored. b=306915 r=tor sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@180591 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-19 19:55:31 +00:00
bzbarsky%mit.edu
26af641d58
Implement :-moz-broken, :-moz-user-disabled, and :-moz-suppressed
...
pseudo-classes to allow styling of broken/blocked/disabled images, applets,
objects, embeds. Bug 11011, r=biesi and roc, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@180509 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-18 18:05:40 +00:00
roc+%cs.cmu.edu
c8d2312b82
Bug 286491. Recreate the entire IB-split complex if the child of an IB-special frame is recreated, because the structure of the IB split may be changing. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@178575 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-21 23:56:40 +00:00
roc+%cs.cmu.edu
c0375ee6b6
Bug 289377, cleanup nsCSSFrameConstructor a tad. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@177891 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 21:35:58 +00:00
bzbarsky%mit.edu
d3b1540fe2
Fix counter numbering when counters are set on the inline in an {ib} split.
...
Bug 296083, r+sr=dbaron, a=asa
git-svn-id: svn://10.0.0.236/trunk@175761 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-07 17:12:31 +00:00
peterv%propagandism.org
aac2b47f2a
Fix for bug 286300 (Clean up HTML tags enum and related code). r=mrbkap, sr=bz, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@174703 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 13:10:58 +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
roc+%cs.cmu.edu
a52cfd560a
Bug 289090. Get the pagesequenceframe from the frame constructor, don't poke around the frame hierarchy trying to find it. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@171737 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 22:46:56 +00:00
roc+%cs.cmu.edu
7021bee02b
Bug 288117. Reland nsScrollBoxFrame removal. This will regress Tp a bit. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@171539 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-03 21:00:41 +00:00
dbaron%dbaron.org
72020748e5
Implement CSS2 counters. b=3247 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@171473 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-01 23:07:00 +00:00
bzbarsky%mit.edu
35707e2f9d
Wrap a view update batch around all restyle processing and switch
...
ApplyRenderingChangeToTree to use a NO_SYNC view batch, since we now flush
reflows before painting. Bug 288365, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@171464 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-01 18:14:18 +00:00
dbaron%dbaron.org
f7e591cd27
Back out roc's checkin for bug 288117 to isolate performance regressions during tinderbox downtime.
...
git-svn-id: svn://10.0.0.236/trunk@171429 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-31 18:04:50 +00:00
roc+%cs.cmu.edu
edd9381478
Bug 288117. Eliminate nsScrollBoxFrame. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@171419 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-31 03:40:12 +00:00
bzbarsky%mit.edu
ce5f5c101d
Add a presshell member to nsCSSFrameConstructor. Remove prescontext and
...
presshell args from most frame constructor methods; use the state for the
former and the member for the latter. Bug 281957, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@169389 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 16:11:53 +00:00
roc+%cs.cmu.edu
e0d871feb8
Bug 277420. Use ConstructBlock when creating scrolled and absolutely positioned blocks. Removes copied code and makes columns work in such situations. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@168959 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-08 02:15:26 +00:00
bzbarsky%mit.edu
77e877e706
Change the hack for menus to just process the menugenerated attr change sync to
...
start with, instead of flushing style reresolves. Bug 279308, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@168418 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-27 21:17:08 +00:00
roc+%cs.cmu.edu
7a1de1240c
Bug 277421. Make absolutely-positioned frame construction use ConstructBlock; removed redundant code and enables abs-pos elements with columns. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@168329 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-25 22:36:32 +00:00
bzbarsky%mit.edu
7960996dc3
Hoist pseudo-frame handling up so it happens for all frames. Fixes crashes bug
...
269566 and bug 275625. r=bernd, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@168262 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-24 22:51:20 +00:00
neil%parkwaycc.co.uk
e717d9b1f9
Bug 276002 Change nsContenUtils::Get/FormatLocalizedString to use nsXPIDLString to save on nsAutoString copies r=dbaron sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@167959 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-18 23:46:59 +00:00
bryner%brianryner.com
55e775a8a2
Less-than-ideal fix for the problem where XTF insertion points don't work if the insertion point has only inline frame ancestors (which are not in the primary frame map) in the anonymous content tree. Track the insertion point content node as we're constructing anonymous content frames and insert the explicit content when we reach the insertion point. Bug 269023, r=bzbarsky, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@167749 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-14 23:12:20 +00:00
bugzilla%arlen.demon.co.uk
e4daffa10a
Bug 270708 remove nsPresContext variable from AttributeChanged and cleaned up comment in nsIFrame.h
...
p=bugmail@q1n.org r=pkwarren sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@167124 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-31 01:13:27 +00:00
bryner%brianryner.com
825da8256d
Full fix for xtf Tp regression -- avoid QI'ing non-XTF elements in CreateAnonymousFrames. Bug 270136, r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@165400 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-16 18:07:13 +00:00
bzbarsky%mit.edu
69eb75b943
Fix parent frame determination for tables so that positioned tables end up with
...
the placeholder in the right place. Bug 266850, r=mats.palmgren, sr=roc
git-svn-id: svn://10.0.0.236/trunk@164930 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-04 18:53:05 +00:00
roc+%cs.cmu.edu
8fb537acb7
Bug 266890. Remove nsListboxScrollPortFrame by moving its functionality into nsListBoxFrame. Part of an ongoing effort to remove nsScrollboxFrame and its subclasses. r+sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@164830 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-03 02:52:16 +00:00
bzbarsky%mit.edu
4ece7e1998
Make the frame constructor state and save state automatically handle inserting
...
out of flows in the right place in the fixed/absolute/float containing blocks
so that it can't be screwed up by callers. Bug 264914, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@164677 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-30 21:43:49 +00:00
bzbarsky%mit.edu
874f1be4cf
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
git-svn-id: svn://10.0.0.236/trunk@164482 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-27 01:34:22 +00:00
roc+%cs.cmu.edu
6f2ffd8d55
Bug 262760. Do Begin/EndUpdateViewBatch around all reflows and restyling. Also, make the refresh flags in EndUpdateViewBatch mean the same thing as they do in UpdateView. In particular we introduce NS_VMREFRESH_DEFERRED. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@163457 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-09 02:02:04 +00:00
roc+%cs.cmu.edu
22e0ff6cb8
Bug 251162. Landing experimental implementation of CSS3 columns. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@163416 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-08 12:17:10 +00:00
alex%croczilla.com
049fc5de75
Landing of the XTF branch, bug#253225. XTF is the eXtensible Tag
...
Framework; see mozilla/content/xtf/readme.txt. r=bryner, sr=jst. Code
is not enabled by default (requires --enable-xtf configure option).
git-svn-id: svn://10.0.0.236/trunk@163386 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-07 20:59:53 +00:00
bzbarsky%mit.edu
09bf6e10e5
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
git-svn-id: svn://10.0.0.236/trunk@163044 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-30 22:39:28 +00:00
bzbarsky%mit.edu
b5b1e1b77a
Make sure not to add entries to the pending restyle hashtable while enumerating
...
it. Bug 257694 (also fixes bug 256242, bug 258101). r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@162193 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-13 04:08:14 +00:00
dbaron%dbaron.org
2ad99ee1c7
Land bug 72747 in pieces: use new functions for common overflow tests. b=72747 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@161683 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-02 23:37:02 +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
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
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
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
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
dbaron%dbaron.org
b3b0bcf362
Make WipeContainingBlock walk up further when the containing block is the block part of an inline that contains a block. b=244454 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@158041 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 18:51:17 +00:00
gerv%gerv.net
2ac510b678
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155068 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:30:37 +00:00
roc+%cs.cmu.edu
a69c586b63
Bug 234851. Propagate any overflow style from HTML or BODY elements to the viewport, and make it work dynamically. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@154761 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 02:56:03 +00:00
sicking%bigfoot.com
e4632ed495
Bug 237566: Remove nsIContent::ReplaceChildAt and supportive codepaths.
...
r=bz sr=jst
git-svn-id: svn://10.0.0.236/trunk@154723 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 22:48:33 +00:00
dbaron%dbaron.org
950b1a4459
Implement 'quotes' property correctly by tracking quote nesting depth using a linked list. Patch by Esben Mose Hansen <esben@oek.dk>, Ulrich Drepper <drepper@redhat.com>, and me. b=24861
...
git-svn-id: svn://10.0.0.236/trunk@154706 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 21:53:22 +00:00
bzbarsky%mit.edu
4681cee324
Fix bug 236921. This makes the root node's style context have no parent, makes
...
computed style calculations properly parent the computed context, and fixes a
but with "border-color: inherit" on the root. r=caillon, sr=dbaron, a=asa
git-svn-id: svn://10.0.0.236/trunk@154362 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-29 16:00:38 +00:00
bryner%brianryner.com
d956db112f
Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@153111 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-23 21:29:06 +00:00
dbaron%dbaron.org
e5ad15e520
Rename {nsIDocument,nsIDocumentObserver,nsIFrame}::ContentChanged to CharacterDataChanged, since that's the only thing it's used for. Replace its nsISupports* parameter with a PRBool, since we don't need to allocate an object to pass a boolean parameter. Remove some (but probably not all) unneeded implementations on frames whose content is never a text node. b=234960 r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@153040 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 21:38:31 +00:00
dbaron%dbaron.org
6dd1e040bf
Replaced elements should not support generated content. b=169334 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@152945 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 18:04:15 +00:00
bryner%brianryner.com
2dce372072
DeCOMtaminate nsCSSFrameConstructor (bug 231157). This gets rid of the nsIStyleFrameConstruction and nsICSSFrameConstructor interfaces. The frame constructor now has the same lifetime as the pres shell. r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@151662 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-21 23:05:10 +00:00
dbaron%dbaron.org
4ff69b3d4c
Refactor code that calls ComputeStyleChangeFor and handles the result. b=231027 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@151466 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-17 22:43:14 +00:00
dbaron%dbaron.org
44cf91f9e8
Do style resolution of later siblings required by the CSS + combinator on event state and attribute changes by changing the result of Has(Attribute|State)DependentStyle into a bitfield and setting and handling the restyle-later-siblings bit appropriately. b=15608 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@151284 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-14 01:36:35 +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