- 24 Mar, 2009 18 commits
-
-
staikos@webkit.org authored
Reviewed by George Staikos. Correct warnings which in some environments are treated as errors. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41954 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ddkilzer@apple.com authored
Bug 23310: Setting an absolute path (/abs) on an <iframe> with no src doesn't resolve the URL properly <https://bugs.webkit.org/show_bug.cgi?id=23310> Reviewed by Darin Adler. WebCore: Test: fast/frames/iframe-no-src-set-location.html * dom/Document.cpp: (WebCore::Document::completeURL): If m_baseURL is empty or is about:blank and we have a parent document, use the parent document's URL for the base when completing a new URL. LayoutTests: * fast/frames/iframe-no-src-set-location-expected.txt: Added. * fast/frames/iframe-no-src-set-location.html: Added. * fast/frames/resources/iframe-no-src-set-location-pass.html: Copied from LayoutTests/fast/dom/Document/early-document-access-expected.txt. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41953 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
simon.fraser@apple.com authored
Reviewed by Dave Hyatt https://bugs.webkit.org/show_bug.cgi?id=24659 When hit-testing 3d-transformed layers, it doesn't make sense to project the hitTestRect into the coordinate space of the layer, and doing so can result in pathalogical quads that break hit testing. In that case, simply use the same bounds as used for painting, which are the composited bounds for this layer. Test: transforms/3d/hit-testing/rotated-hit-test.html * rendering/RenderLayer.cpp: (WebCore::RenderLayer::hitTestLayer): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41952 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
simon.fraser@apple.com authored
Reviewed by Dave Hyatt https://bugs.webkit.org/show_bug.cgi?id=24436 When compositing is enabled, painting and hit testing end up using different clipping roots, because, for painting, every composited layer is a clipping root, but for hit testing only layers with transforms are. To fix this, we use temporary clip rects for hit testing, if the page is in compositing mode. * rendering/RenderLayer.cpp: (WebCore::RenderLayer::hitTestLayer): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41951 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
simon.fraser@apple.com authored
Reviewed by Dan Bernstein https://bugs.webkit.org/show_bug.cgi?id=24782 Fix regression with CSS clip rects with non-length values, by reverting to the original code, but passing the zoom multiplier through convertToLength(). Also make stylistic change in createTransformOperations(), renaming 'inStyle' to 'style. Tested by existing tests. * css/CSSStyleSelector.cpp: (WebCore::convertToLength): (WebCore::CSSStyleSelector::applyProperty): (WebCore::CSSStyleSelector::createTransformOperations): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41950 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bfulgham@webkit.org authored
Reviewed by Adam Roben. https://bugs.webkit.org/show_bug.cgi?id=24779 Conditionalize CFNetwork-specific code in WebView to permit support for other network backends. * WebView.cpp: (WebView::setCacheModel): Add CFNETWORK check around CFNetwork specific cache implementation. (updateSharedSettingsFromPreferencesIfNeeded): Add CFNETWORK check around use of CFHTTPCookie code. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41949 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt@apple.com authored
2009-03-24 David Hyatt <hyatt@apple.com> Reviewed by Simon Fraser https://bugs.webkit.org/show_bug.cgi?id=21789, overflow:hidden elements should clip their foreground contents to a border-radius. This patch makes non-self-painting overflow layers and control clips work with border-radius. RenderLayers that should be clipped by overflow ancestors with border-radius are still broken. Added fast/clip/overflow-border-radius-clip.html * rendering/RenderBox.cpp: (WebCore::RenderBox::pushContentsClip): LayoutTests: 2009-03-24 David Hyatt <hyatt@apple.com> Reviewed by Simon Fraser Test for https://bugs.webkit.org/show_bug.cgi?id=21789 * fast/clip/overflow-border-radius-clip.html: Added. * platform/mac/fast/clip/overflow-border-radius-clip-expected.checksum: Added. * platform/mac/fast/clip/overflow-border-radius-clip-expected.png: Added. * platform/mac/fast/clip/overflow-border-radius-clip-expected.txt: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41948 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt@apple.com authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41947 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kevino@webkit.org authored
Explicitly define HAVE_LANGINFO_H on Darwin. Fixes the wx build bot jscore test failure. https://bugs.webkit.org/show_bug.cgi?id=24780 git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41946 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt@apple.com authored
2009-03-24 David Hyatt <hyatt@apple.com> Reviewed by Simon Fraser https://bugs.webkit.org/show_bug.cgi?id=21789, overflow:hidden elements should clip their foreground contents. This first patch makes overflow:hidden properly clip the foreground contents of overflow:hidden replaced elements. Common replaced elements now default to overflow:hidden in the UA stylesheet (this is what the spec specifically recommends be done). Added fast/replaced/border-radius-clip.html * css/html4.css: * rendering/RenderReplaced.cpp: (WebCore::RenderReplaced::paint): * rendering/RenderWidget.cpp: (WebCore::RenderWidget::paint): LayoutTests: 2009-03-24 David Hyatt <hyatt@apple.com> Reviewed by Simon Fraser Test for https://bugs.webkit.org/show_bug.cgi?id=21789 * fast/replaced/border-radius-clip.html: Added. * platform/mac/fast/replaced/border-radius-clip-expected.checksum: Added. * platform/mac/fast/replaced/border-radius-clip-expected.png: Added. * platform/mac/fast/replaced/border-radius-clip-expected.txt: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41945 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
adele@apple.com authored
RS by Mark Rowe. Only build these Mail quirks checks in on the Mac. * dom/Document.cpp: (WebCore::disableRangeMutation): * html/HTMLElement.cpp: (WebCore::HTMLElement::inEitherTagList): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41944 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bfulgham@webkit.org authored
Build fix, no review. Remove ResourceLoaderCFNet.cpp from build list for Cairo Releas and Debug targets. * WebCore.vcproj/WebCore.vcproj: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41943 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric.carlson@apple.com authored
Update media tests broken by r41907. * fast/dom/Window/window-properties-expected.txt: * http/tests/media/video-play-stall-seek.html: * http/tests/media/video-play-stall.html: 2009-03-24 Eric Carlson <eric.carlson@apple.com> Fix layout tests broken by r41907. * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::setReadyState): Don't set "was playing" based on the new ready state git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41942 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dimich@chromium.org authored
Reviewed by Dimitri Glazkov. https://bugs.webkit.org/show_bug.cgi?id=24689 Fix Chromium compilation errors. * bindings/v8/WorkerContextExecutionProxy.cpp: (WebCore::WorkerContextExecutionProxy::FindOrCreateEventListener): (WebCore::WorkerContextExecutionProxy::RemoveEventListener): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41941 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dglazkov@chromium.org authored
Reviewed by Darin Adler. https://bugs.webkit.org/show_bug.cgi?id=24759 Add missing methods Element.prototype.removeMatchingStyleClasses and Node.prototype.enclosingNodeOrSelfWithNodeNameInArray to SourceFrame content iframe. These methods are called by Element.prototype.removeStyleClass and Node.prototype.enclosingNodeOrSelfWithNodeName. * inspector/front-end/SourceFrame.js: (WebInspector.SourceFrame.prototype._loaded): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41940 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dglazkov@chromium.org authored
Reviewed by Mark Rowe. https://bugs.webkit.org/show_bug.cgi?id=24653 WebKit should be buildable without prefix header injection. Adds missing #includes and forward declarations as needed. * editing/SmartReplaceCF.cpp: * platform/graphics/mac/ColorMac.mm: * platform/graphics/mac/FontCacheMac.mm: * platform/graphics/mac/FontCustomPlatformData.h: * platform/graphics/mac/FontMac.mm: * platform/graphics/mac/FontMacATSUI.mm: * platform/graphics/mac/FontPlatformData.h: * platform/graphics/mac/FontPlatformDataMac.mm: * platform/graphics/mac/GraphicsContextMac.mm: * platform/graphics/mac/SimpleFontDataMac.mm: * platform/mac/FoundationExtras.h: * platform/mac/LocalCurrentGraphicsContext.h: * platform/mac/WebCoreSystemInterface.h: * platform/mac/WebCoreSystemInterface.mm: * platform/mac/WebCoreTextRenderer.h: * platform/mac/WebCoreTextRenderer.mm: * platform/mac/WebFontCache.h: * platform/mac/WebFontCache.mm: * platform/text/PlatformString.h: * platform/text/mac/ShapeArabic.c: * platform/text/mac/StringMac.mm: * rendering/RenderThemeChromiumMac.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41939 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
Reviewed by Darin Adler. - fix <rdar://problem/6107874> by capping the nesting depth of "block-level" elements generated by the parser Test: fast/parser/block-nesting-cap.html * html/HTMLParser.cpp: (WebCore::HTMLParser::HTMLParser): (WebCore::HTMLParser::insertNode): (WebCore::HTMLParser::pushBlock): (WebCore::HTMLParser::popOneBlockCommon): (WebCore::HTMLParser::freeBlock): * html/HTMLParser.h: LayoutTests: Reviewed by Darin Adler. - test for <rdar://problem/6107874> Test that the nesting depth of "block-level" elements generated by the parser is capped * fast/parser/block-nesting-cap-expected.txt: Added. * fast/parser/block-nesting-cap.html: Added. * fast/parser/resources/block-nesting-cap.js: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41938 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
- speculative fix for <rdar://problem/6630134> Crash at Editor::compositionRange() * WebView/WebHTMLView.mm: (-[WebHTMLView markedRange]): Null-check the Frame like most other methods in this class. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41937 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 23 Mar, 2009 22 commits
-
-
bolsinga@apple.com authored
Reviewed by David Kilzer. https://bugs.webkit.org/show_bug.cgi?id=24771 DOMTimeStamps are based upon 1970. * platform/mac/GeolocationServiceMac.mm: (-[WebCoreCoreLocationObserver locationManager:didUpdateToLocation:fromLocation:]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41936 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
* rendering/RenderObject.cpp: (WebCore::RenderObject::createVisiblePosition): change .container to .isNotNull() git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41935 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
slewis@apple.com authored
Fix root build. * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41934 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Rename Position::container to m_anchorNode and make it private https://bugs.webkit.org/show_bug.cgi?id=24760 More code cleanup for Position. Change all uses of m_container to node() Eventually most uses of node() should change to anchorNode() to designate that it's the node the Position is anchored to, but not necessarily the container of the position (it could be the before/after neighbor). Remove any code which sets m_container, and change it to use a new Position::moveToPosition function which takes a node and offset. It never makes sense to change the node and leave the offset. * dom/Position.h: (WebCore::Position::Position): (WebCore::Position::clear): (WebCore::Position::anchorNode): (WebCore::Position::node): (WebCore::Position::moveToPosition): (WebCore::Position::moveToOffset): (WebCore::Position::isNull): (WebCore::Position::isNotNull): (WebCore::operator==): * dom/Range.cpp: (WebCore::Range::create): (WebCore::Range::compareBoundaryPoints): * dom/RangeBoundaryPoint.h: (WebCore::RangeBoundaryPoint::container): (WebCore::RangeBoundaryPoint::set): (WebCore::RangeBoundaryPoint::setOffset): (WebCore::RangeBoundaryPoint::setToChild): (WebCore::RangeBoundaryPoint::setToStart): (WebCore::RangeBoundaryPoint::setToEnd): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41933 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
document.write() should be able to make a document strict mode https://bugs.webkit.org/show_bug.cgi?id=24336 Remove an implicit write of "<html>" on the first document.write call this was added as part of a KDE import http://trac.webkit.org/changeset/798 with no layout test or explanation. I can't think of any reason why an implicit <html> write is necessary (or correct), so I'm removing it and adding a test for the correct behavior. The parser will add any necessary HTMLHTMLElements during the write() anyway. Our behavior is now tested by fast/dom/Document/document-write-doctype and matches IE, FF fails this new test. Mozilla bug filed: https://bugzilla.mozilla.org/show_bug.cgi?id=483908 * dom/Document.cpp: (WebCore::Document::write): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41932 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
oliver@apple.com authored
Reviewed by Cameron Zwarich git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41931 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig@apple.com authored
2009-03-23 Sam Weinig <sam@webkit.org> Reviewed by Dan Bernstein. Fix for <rdar://problem/6140966> Empty Caches does not clear the Cross-site XMLHttpRequest preflight cache * WebCore.base.exp: * WebCore.xcodeproj/project.pbxproj: * loader/CrossOriginPreflightResultCache.cpp: (WebCore::CrossOriginPreflightResultCache::empty): * loader/CrossOriginPreflightResultCache.h: WebKit/mac: 2009-03-23 Sam Weinig <sam@webkit.org> Reviewed by Dan Bernstein. Fix for <rdar://problem/6140966> Empty Caches does not clear the Cross-site XMLHttpRequest preflight cache * Misc/WebCache.mm: (+[WebCache empty]): WebKit/win: 2009-03-23 Sam Weinig <sam@webkit.org> Reviewed by Dan Bernstein. Fix for <rdar://problem/6140966> Empty Caches does not clear the Cross-site XMLHttpRequest preflight cache * WebCache.cpp: (WebCache::empty): Also add application cache emptying to match the mac. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41930 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin@apple.com authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41929 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin@apple.com authored
2009-03-23 Darin Adler <darin@apple.com> Reviewed by Adele Peterson. Bug 24726: hit testing doesn't work right when the click is on anonymous content https://bugs.webkit.org/show_bug.cgi?id=24726 rdar://problem/6696992 Test: editing/selection/hit-test-anonymous.html * rendering/RenderBR.cpp: (WebCore::RenderBR::positionForPoint): Call createVisiblePosition instead of creating a VisiblePosition directly. It will handle finding non-anonymous content nearby if node() is 0. * rendering/RenderBlock.cpp: (WebCore::positionForPointRespectingEditingBoundaries): Ditto. (WebCore::positionForPointWithInlineChildren): Ditto. (WebCore::RenderBlock::positionForPoint): Ditto. * rendering/RenderBox.cpp: (WebCore::RenderBox::positionForPoint): Ditto. * rendering/RenderObject.cpp: (WebCore::RenderObject::positionForPoint): Ditto. (WebCore::RenderObject::createVisiblePosition): Added. * rendering/RenderObject.h: Added createVisiblePosition. * rendering/RenderReplaced.cpp: (WebCore::RenderReplaced::positionForPoint): Call createVisiblePosition. * rendering/RenderSVGInlineText.cpp: (WebCore::RenderSVGInlineText::positionForPoint): Ditto. * rendering/RenderText.cpp: (WebCore::RenderText::positionForPoint): Ditto. LayoutTests: 2009-03-23 Darin Adler <darin@apple.com> Reviewed by Adele Peterson. Bug 24726: hit testing doesn't work right when the click is on anonymous content https://bugs.webkit.org/show_bug.cgi?id=24726 rdar://problem/6696992 * editing/selection/hit-test-anonymous-expected.txt: Added. * editing/selection/hit-test-anonymous.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41928 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
slewis@apple.com authored
Reviewed by Mark Rowe. Add production configuration for creating roots of WebKitTools. * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41927 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
adele@apple.com authored
Reviewed by Darin Adler & Dave Hyatt. Fix for <rdar://problem/6621310> REGRESSION(35185): Apple Travel HTML emails missing some style after Safari 4 upgrade Leopard Mail doesn't expect <style> to be in the body. This change reverts back to the old behavior of moving <style> to <head> for that version of Mail. * html/HTMLElement.cpp: (WebCore::HTMLElement::inEitherTagList): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41926 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
adele@apple.com authored
2009-03-23 Adele Peterson <adele@apple.com> Reviewed by Mark Rowe & Dave Hyatt. Merge some of the individual Mail quirks into two settings that we can check for future quirks. * WebCore.base.exp: * dom/Document.cpp: (WebCore::disableRangeMutation): (WebCore::Document::nodeChildrenChanged): (WebCore::Document::nodeWillBeRemoved): (WebCore::Document::textInserted): (WebCore::Document::textRemoved): (WebCore::Document::textNodesMerged): (WebCore::Document::textNodeSplit): * page/Settings.cpp: (WebCore::Settings::Settings): (WebCore::Settings::setNeedsLeopardMailQuirks): (WebCore::Settings::setNeedsTigerMailQuirks): * page/Settings.h: (WebCore::Settings::needsLeopardMailQuirks): (WebCore::Settings::needsTigerMailQuirks): WebKit/mac: 2009-03-23 Adele Peterson <adele@apple.com> Reviewed by Mark Rowe & Dave Hyatt. Merge some of the individual Mail quirks into two settings that we can check for future quirks. * WebView/WebView.mm: (runningLeopardMail): (runningTigerMail): (-[WebView _preferencesChangedNotification:]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41925 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
oliver@apple.com authored
Reviewed by Geoff Garen. We only run testapi on the mac as currently windows webkit doesn't place all the necessary files for testapi, and we also test the JSC/CF APIs as well. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41924 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
https://bugs.webkit.org/show_bug.cgi?id=24762adachan@apple.com authored
Support text-indent in <option> elements on windows platform. Reviewed by Adele Peterson. * css/themeWin.css: * platform/PopupMenuStyle.h: We don't honor font specified on <option> elements right now. Make this explicit via windows themed default stylesheet. (WebCore::PopupMenuStyle::PopupMenuStyle): Also store text-indent and text-direction. (WebCore::PopupMenuStyle::textIndent): (WebCore::PopupMenuStyle::textDirection): * platform/win/PopupMenuWin.cpp: (WebCore::PopupMenu::paint): Adjust the text's x-coordinate if text-indent is supported for options and text-indent is specified with LTR direction. * rendering/RenderMenuList.cpp: (WebCore::RenderMenuList::updateOptionsWidth): Take text-indent into account if theme supports text-indent for options. (WebCore::RenderMenuList::itemStyle): Use new PopupMenuStyle constructor on windows. (WebCore::RenderMenuList::menuStyle): Ditto. * rendering/RenderTextControlSingleLine.cpp: (WebCore::RenderTextControlSingleLine::menuStyle): Ditto. * rendering/RenderTheme.h: (WebCore::RenderTheme::popupOptionSupportsTextIndent): Added. Default is false since we are only supporting it in windows for now. * rendering/RenderThemeWin.h: (WebCore::RenderThemeWin::popupOptionSupportsTextIndent): Returns true for windows. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41923 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig@apple.com authored
Reviewed by Anders Carlsson. Fix for https://bugs.webkit.org/show_bug.cgi?id=24699 REGRESSION: Java Applets broken <rdar://problem/6707494> Fix loading Java applets without a codeBase. Only pass the base (up to the the last path component) of the baseURL to the plug-in. * html/HTMLAppletElement.cpp: (WebCore::HTMLAppletElement::createRenderer): * platform/KURL.cpp: (WebCore::KURL::baseAsString): * platform/KURL.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41922 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin@apple.com authored
Reviewed by Sam Weinig. * platform/KURL.h: Removed now-incorrect comments. None of the parts include the separator characters any more, now that query doesn't include the "?", so the comments explaining which do and do not are no-longer helpful. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41921 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
levin@chromium.org authored
Reviewed by Dimitri Glazkov. https://bugs.webkit.org/show_bug.cgi?id=24764 Renamed files V8NodeFilter -> V8NodeFilterCondition to reflect class names. Also fixed some headers that got mangled in search/replace operations. No change in behavior, so no test. * bindings/v8/V8NodeFilter.h: Removed. * bindings/v8/V8NodeFilterCondition.cpp: Renamed from WebCore/bindings/v8/V8NodeFilter.cpp. * bindings/v8/V8NodeFilterCondition.h: Added. * bindings/v8/custom/V8ClipboardCustom.cpp: * bindings/v8/custom/V8DocumentCustom.cpp: * bindings/v8/custom/V8ElementCustom.cpp: * bindings/v8/custom/V8HTMLCanvasElementCustom.cpp: * bindings/v8/custom/V8NavigatorCustom.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41920 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin@chromium.org authored
Reviewed by Antti Koivisto. https://bugs.webkit.org/show_bug.cgi?id=24741 Adds a unique across-browser-sessions identifier to FormData, which may be used by ResourceHandle as a secondary cache key to enable cached form submissions. At issue: two otherwise identical form submissions may result in completely independent responses, which may each be appropriate to store and reuse from cache. * html/HTMLFormElement.cpp: Added call to FormData::setIdentifier so that we only enable cached form submissions for those generated by HTML. This way we do not bother with POSTs generated by XMLHttpRequest. (WebCore::generateFormDataIdentifier): (WebCore::HTMLFormElement::createFormData): * platform/network/FormData.cpp: Initialize m_identifier to 0, which means the unspecified identifier. So by default there is no identifier and nothing changes. (WebCore::FormData::FormData): * platform/network/FormData.h: Added m_identifier with setter and getter. (WebCore::FormData::setIdentifier): (WebCore::FormData::identifier): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41919 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
simon.fraser@apple.com authored
Reviewed by Antti Koivisto https://bugs.webkit.org/show_bug.cgi?id=24733 Fix media controller with full-page zoom. Previously, the media controller shadow nodes never saw style changes on the RenderMedia, so did not respond to zooming at all. Now, we update the style on the shadow renderers whenever RenderMedia gets a style change. Also fix the video thumb in the theme to be scaled properly. Test: media/video-controls-zoomed.html * rendering/MediaControlElements.cpp: (WebCore::MediaControlShadowRootElement::updateStyle): (WebCore::MediaTextDisplayElement::MediaTextDisplayElement): (WebCore::MediaTextDisplayElement::updateStyle): (WebCore::MediaControlInputElement::MediaControlInputElement): (WebCore::MediaControlInputElement::updateStyle): * rendering/MediaControlElements.h: * rendering/RenderMedia.cpp: (WebCore::RenderMedia::styleDidChange): * rendering/RenderMedia.h: * rendering/RenderThemeMac.mm: (WebCore::RenderThemeMac::adjustSliderThumbSize): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41918 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin@chromium.org authored
Reviewed by Darin Adler. https://bugs.webkit.org/show_bug.cgi?id=24739 Rework StringImpl::create methods to try to allocate a single buffer rather than allocating both the StringImpl class and a separate data buffer. * platform/text/StringImpl.cpp: * platform/text/StringImpl.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41917 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin@apple.com authored
Reviewed by Antti Koivisto. Based on a patch by Nico Weber <nicolasweber@gmx.de> Bug 24755: LayoutTests/http/tests/misc/url-in-utf16le.html regression https://bugs.webkit.org/show_bug.cgi?id=24755 * platform/text/TextEncoding.cpp: (WebCore::TextEncoding::isUTF7Encoding): Added. Checks if the current encoding is UTF7 without loading extended codecs. (WebCore::TextEncoding::encodingForFormSubmission): Use isUTF7Encoding() instead of comparing with UTF7Encoding(). Eliminate the explicit check of noExtendedTextEncodingNameUsed() because that's now handled by the functions that this function calls instead. * platform/text/TextEncoding.h: Added isUTF7Encoding function. Also tweaked formatting a bit. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41916 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
pkasting@chromium.org authored
Reviewed by Darin Fisher. https://bugs.webkit.org/show_bug.cgi?id=24720 RenderThemeChromium should draw something for Slider parts instead of dropping them on the floor. * platform/chromium/ChromiumBridge.h: * rendering/RenderThemeChromiumWin.cpp: (WebCore::RenderThemeChromiumWin::adjustSliderThumbSize): (WebCore::RenderThemeChromiumWin::paintSliderTrack): (WebCore::RenderThemeChromiumWin::determineSliderThumbState): (WebCore::RenderThemeChromiumWin::getThemeData): * rendering/RenderThemeChromiumWin.h: (WebCore::RenderThemeChromiumWin::paintSliderThumb): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41915 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-