L. David Baron
1a458f4877
Introduce nsStyleCoord::HasPercent to check for either a percent value or a calc() value containing a percent. (Bug 585715) r=bzbarsky a2.0=blocking+
2010-08-25 12:17:55 +02:00
Robert O'Callahan
812e6204ae
Bug 584282. Use nsDisplayItem::ToReferenceFrame() instead of calling nsDisplayListBuilder::ToReferenceFrame, wherever possible. r=tnikkel,a=dbaron
...
--HG--
extra : rebase_source : 730ba8640cb37bd8484ff069b5d6fd46d9bc3e84
2010-08-13 22:01:58 +12:00
Robert O'Callahan
a581cd6197
Bug 584282. Add nsDisplayItem::mToReferenceFrame and initialize it in the constructor. r=tnikkel,a=dbaron
...
--HG--
extra : rebase_source : 496cbde7c495eb8872c3d0ffc0ca4c57c2a6a777
2010-08-13 22:01:13 +12:00
Daniel Holbert
5b754a5516
Bug 582004 part 2: Make imgIContainerObserver::FrameChanged take a const aDirtyRect argument. r=joe a=blocking
2010-08-13 21:09:48 -07:00
L. David Baron
ee89e22866
Add support for calc() to the 'width' property. (Bug 585715) r=bzbarsky a2.0=blocking2.0+
2010-08-11 12:32:53 -07:00
Michael Ventnor
8139bee929
Bug 564991. Part 3: Create unique nsDisplayItem types for every single display item. r=tnikkel
2010-07-16 09:07:49 +12:00
Alexander Surkov
1b2bbba526
Bug 573706 - make frame based accessible creation more pellucid, r=davidb, sr=roc
2010-06-28 21:02:03 +09:00
Timothy Nikkel
c25a766301
Bug 574756. Make sure nsIFrame::List outputs the stylecontext of the frame. r=dbaron
2010-06-25 16:51:17 -05:00
Daniel Holbert
c76f173bb3
Bug 571059: Update debugging printfs to treat nsFrameState objects as 64-bit & fix build warnings. r=dbaron
2010-06-10 11:26:57 -07:00
Brandon Sterne
bcab21793a
Bug 515460 - enforce CSP during image redirects, r=joe
2010-05-20 13:08:02 -07:00
Boris Zbarsky
4d2b5f13cc
Bug 562688 part 11. Eliminate eELEMENT usage in layout/generic. r=dbaron
2010-04-30 09:12:06 -04:00
L. David Baron
7ff92ec1fa
Use the appropriate color based on visitedness for nsCSSRendering::PaintBorder users of the 'border-*-color' properties. (Bug 147777) r=zweinberg
2010-04-02 18:58:26 -07:00
Craig Topper
a956b85435
Bug 253889: DeCOMtaminate nsIPresShell r=roc
2010-03-20 17:54:19 -04:00
Makoto Kato
256f2577f8
Bug 182954 - Content should use the newer nsIPrefService APIs instead of nsIPref. r=jst
2010-02-08 11:49:18 +09:00
Timothy Nikkel
5ab231bfb9
Bug 517737. Special case event targeting for area element's that are capturing the mouse due to their misuse of primary frame pointers. r=smaug
...
--HG--
extra : rebase_source : ae74bfd8ccec6e0e7605be33a99cc3e1b3a85420
2010-02-02 20:07:19 -06:00
L. David Baron
8e8816457e
Ensure intrinsic size is always initialized. (Bug 541028) r=bzbarsky
2010-01-24 12:06:19 -08:00
fantasai
1ffb0c06ef
Bug 508473 part III: Pass destruction root to frame destruction methods r=bz sr=roc
2009-12-24 00:21:15 -05:00
Boris Zbarsky
5215a681c7
Bug 525295. Rename nsStyleContext::GetPseudoType to GetPseudo. r=dbaron
2009-10-29 17:17:56 -04:00
Taras Glek
45c73c60d8
Bug 515777 - move css files, hiddenWindow.html to jar r=bsmedberg sr=bz
...
--HG--
extra : rebase_source : c6ba6e900ceed210620d47f70c9b962a808a29fe
2009-10-12 12:31:50 -07:00
Taras Glek
c7f069ab70
Backed out changeset e22bef491d84
2009-10-08 16:43:55 -07:00
Taras Glek
4c56f842c8
Bug 515777 - move css files, hiddenWindow.html to jar r=bsmedberg sr=bz
2009-10-08 11:22:50 -07:00
Robert O'Callahan
d56dfa741e
Bug 513082. Instead of passing aDirtyRect to nsDisplayItem::Paint, have nsDisplayList::OptimizeVisibility (renamed to ComputeVisibility) compute the intersection of the visible region with the bounds of each display item and store the result in the item's mVisibleRect. This lets us do less work to paint display items which have a small intersection with the visible region but a large intersection with the bounding-box of the visible region. r=dbaron
...
--HG--
extra : rebase_source : 76db4b87ef9e5a6e9de7677edc08c26e2cbc462e
2009-09-07 12:35:14 +12:00
Olli Pettay
26fe92f082
Bug 514856 - Server side image maps are broken, r=bz
...
--HG--
extra : rebase_source : d0a5c4795c0279d612435a0c0ad9cb6d5a4783a8
2009-09-23 18:11:48 +03:00
Mats Palmgren
948203eb7d
Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc
2009-09-16 17:01:36 +02:00
Bobby Holley
2d5ec55945
Bug 435296 - Decode-On-Draw. r=joe,roc,bz,dolske,peterw sr=vlad
2009-09-12 16:44:18 -06:00
Zack Weinberg
17eb5a6efc
Bug 497495 part 3: Add methods to every nsFrame subclass that expose the as-allocated identity of every frame object. Also some cleanups to the QueryFrame implementation. r=dbaron sr=roc
2009-09-12 17:49:24 +01:00
Robert O'Callahan
85e1db093e
Bug 503813. Events targeted at generated content frames should get the non-generated ancestor as target element. r=dbaron
...
--HG--
extra : rebase_source : ee218effc8b98ba19b9b2ce9ff29ce4e8dfe0a2e
2009-09-02 14:46:33 +12:00
Bobby Holley
5d8c8c791d
Bug 513544 - Crash [@nsImageFrame::DisplayAltFeedback] - r=bzbarsky
2009-08-30 23:06:11 +02:00
Bobby Holley
ca7b88296e
Bug 507902 - nsImageFrame static Icon Loads should not use the mListener of the first instantiated nsImageFrame.r=bz,joe
2009-08-12 16:23:38 +02:00
Joe Drew
6c441f55f7
Bug 753 - Remove nsIImage, gfxIImageFrame, and their implementations, and expose an equivalent api on imgIContainer. r=roc,josh,bz,longsonr,vlad,karlt,jimm,bsmedberg,mfinkle,peterw,peterv sr=vlad,roc
...
--HG--
rename : gfx/src/shared/gfxImageFrame.cpp => modules/libpr0n/src/imgFrame.cpp
rename : gfx/src/shared/gfxImageFrame.h => modules/libpr0n/src/imgFrame.h
2009-07-20 18:50:15 -07:00
Peter Van der Beken
ed0899f1ce
Fix for bug 499781 (Move some methods from nsILink to nsIContent). r=bz, sr=dbaron.
...
--HG--
extra : rebase_source : da0ec8bfb6825d2e55edd2f5b08a9e43b033a2a3
2009-07-13 13:48:06 +02:00
Simon Montagu
650af63626
Check alt text for right-to-left characters and enable bidi processing if they are found. Bug 503269, r+sr=roc
2009-07-12 06:32:48 -07:00
L. David Baron
bb58803c1f
Remove some unused AddRef/Release methods on frame classes. (Bug 488774) r+sr=roc
2009-04-22 10:13:48 -07:00
Robert Longson
7506754d85
Bug 423756 - Support image-rendering attribute for html images and css backgrounds. r=joe,vlad sr=roc
2009-04-05 10:52:14 +01:00
Jeremy D. Lea
39f62f1364
Bug 431634 - Part 1 - clean up header pollution; r+sr=roc
2009-04-01 13:59:02 -08:00
Ryan VanderMeulen
0332a383e8
Bug 420811 - Convert broken-image.gif and loading-image.gif to PNGs. r+sr=mconnor
2009-03-22 09:57:04 +01:00
L. David Baron
d9b03ef68c
Invalidate the correct area when loading an image for which we've displayed the loading-image icon. (Bug 409870) r+sr=bzbarsky r=roc
2009-02-06 08:52:13 -08:00
Jeremy Lea
1800930122
Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint different types from nsRect/nsMargin/nsSize/nsPoint different types for better compile-type unit checking. r+sr=roc
...
--HG--
extra : rebase_source : a331a9e49fbc5931f546919281fcca7f008ab615
2009-01-15 16:27:09 +13:00
Benjamin Smedberg
24e7cb1f78
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.
--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
Benjamin Smedberg
50621e4f9f
Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal.
2009-01-09 11:35:24 -05:00
Benjamin Smedberg
d0b948876f
Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
...
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted
Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.
r+sr=roc
This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
Robert O'Callahan
0d380f02a0
Bug 458487 - 'Rework image snapping logic'. r=vlad+joedrew, sr=dbaron
2008-11-04 14:01:21 -08:00
Robert O'Callahan
f79290bb0e
Bug 450930. Fire a DOM event when painting so that content and chrome can track what's being repainted. r=smaug,sr=dbaron
2008-09-18 21:47:21 +12:00
Arpad Borsos
eef0edf9d5
Bug 454766 - Add suggested parentheses to layout/; r+sr=roc; (with nits by sgautherie)
2008-09-15 17:40:25 +02:00
Mats Palmgren
f72c0f5218
Paint a focus ring for <area shape="default">. b=448987 r+sr=roc
2008-08-07 16:44:04 +02:00
Zack Weinberg
c9153c98a8
Bug 446498 – use new border rendering for focus rectangles, and strip dead code. r+sr=vlad
2008-08-06 12:33:18 +02:00
bzbarsky@mit.edu
fc4c66121d
Make image controls splittable just like regular images. Bug 409659, r+sr=roc, a=dsicore
2008-01-04 22:44:38 -08:00
reed@reedloden.com
2676ba7d90
Bug 368554 - "[quirks] Image inside table inside table-cell with small width is wrapped" [p=chris@pearce.org.nz (Chris Pearce [cpearce]) r+sr=roc a=blocking1.9+]
2007-12-03 01:24:49 -08:00
jwatt@jwatt.org
4d976af81a
Fixing bug 294086. <svg> should be a replaced element. r+sr=dbaron@mozilla.com blocking1.9=tor@acm.org
2007-11-18 04:09:03 -08:00
bzbarsky@mit.edu
21e0d65a42
Introduce a setter for nsHTMLReflowState::mComputedHeight so that we're sure to
...
update the resize flags properly. Bug 388084, r+sr+a=dbaron
2007-08-02 11:08:05 -07:00