1. 21 Aug, 2013 1 commit
  2. 20 Aug, 2013 3 commits
    • fpizlo@apple.com's avatar
      Add emscripten memops benchmark. · 1fabb414
      fpizlo@apple.com authored
      Rubber stamped by Oliver Hunt.
      
      * TestExpectations:
      * fast/js/regress/emscripten-memops-expected.txt: Added.
      * fast/js/regress/emscripten-memops.html: Added.
      * fast/js/regress/script-tests/emscripten-memops.js: Added.
      (.Module.string_appeared_here):
      (else.Module.string_appeared_here):
      (else.else.Module.string_appeared_here):
      (else.else):
      (globalEval):
      (Runtime.stackSave):
      (Runtime.stackRestore):
      (Runtime.forceAlign):
      (Runtime.isNumberType):
      (Runtime.isPointerType):
      (Runtime.isStructType):
      (or64):
      (and64):
      (xor64):
      (getNativeTypeSize):
      (getNativeFieldSize):
      (dedup):
      (.set var):
      (getAlignSize):
      (calculateStructAlignment):
      (.else.alignment):
      (generateStructInfo):
      (dynCall):
      (addFunction):
      (removeFunction):
      (warnOnce):
      (.Runtime.funcWrappers.func):
      (getFuncWrapper):
      (UTF8Processor.this.processCChar):
      (UTF8Processor.this.processJSString):
      (UTF8Processor):
      (stackAlloc):
      (staticAlloc):
      (dynamicAlloc):
      (alignMemory):
      (makeBigInt):
      (assert):
      (ccall):
      (getCFunc):
      (.toC):
      (.fromC):
      (ccallFunc):
      (setValue):
      (getValue):
      (.set else):
      (.set return):
      (allocate):
      (Pointer_stringify):
      (alignMemoryPage):
      (enlargeMemory):
      (callRuntimeCallbacks):
      (preRun):
      (ensureInitRuntime):
      (preMain):
      (exitRuntime):
      (postRun):
      (addOnPreRun):
      (addOnInit):
      (addOnPreMain):
      (addOnExit):
      (addOnPostRun):
      (intArrayFromString):
      (intArrayToString):
      (writeStringToMemory):
      (writeArrayToMemory):
      (unSign):
      (reSign):
      (Math.string_appeared_here):
      (addRunDependency):
      (removeRunDependency):
      (loadMemoryInitializer.applyData):
      (loadMemoryInitializer.set addOnPreRun):
      (__ATINIT__.push):
      (STATIC_BASE):
      (copyTempDouble):
      (___setErrNo):
      (PATH.splitPath):
      (PATH.normalizeArray):
      (PATH.normalize.join):
      (PATH.normalize):
      (PATH.dirname):
      (PATH.basename):
      (PATH.join):
      (PATH.trim):
      (PATH.relative):
      (TTY.register):
      (TTY.stream_ops.open):
      (TTY.stream_ops.close):
      (TTY.stream_ops.read):
      (TTY.stream_ops.write):
      (TTY.default_tty_ops.get_char):
      (TTY.default_tty_ops.put_char):
      (TTY.default_tty1_ops.put_char):
      (MEMFS.mount):
      (MEMFS.create_node):
      (MEMFS.node_ops.getattr):
      (MEMFS.node_ops.setattr):
      (MEMFS.node_ops.lookup):
      (MEMFS.node_ops.mknod):
      (MEMFS.node_ops.rename):
      (MEMFS.node_ops.unlink):
      (MEMFS.node_ops.rmdir):
      (MEMFS.node_ops.readdir):
      (MEMFS.node_ops.symlink):
      (MEMFS.node_ops.readlink):
      (MEMFS.stream_ops.set else):
      (MEMFS.stream_ops.read):
      (MEMFS.stream_ops.write):
      (MEMFS.stream_ops.llseek):
      (MEMFS.stream_ops.allocate):
      (MEMFS.stream_ops.set return):
      (MEMFS.stream_ops.mmap):
      (_fflush):
      (FS.ErrnoError):
      (FS.handleFSError):
      (FS.hashName):
      (FS.hashAddNode):
      (FS.hashRemoveNode):
      (FS.lookupNode):
      (FS.):
      (FS.destroyNode):
      (FS.isRoot):
      (FS.isMountpoint):
      (FS.isFile):
      (FS.isDir):
      (FS.isLink):
      (FS.isChrdev):
      (FS.isBlkdev):
      (FS.isFIFO):
      (FS.cwd):
      (FS.var):
      (FS.lookupPath):
      (FS.getPath):
      (FS.modeStringToFlags):
      (FS.flagsToPermissionString):
      (FS.nodePermissions):
      (FS.mayLookup):
      (FS.mayMknod):
      (FS.mayCreate):
      (FS.mayDelete):
      (FS.mayOpen):
      (FS.chrdev_stream_ops.open):
      (FS.chrdev_stream_ops.llseek):
      (FS.major):
      (FS.minor):
      (FS.makedev):
      (FS.registerDevice):
      (FS.getDevice):
      (FS.nextfd):
      (FS.getStream):
      (FS.closeStream):
      (FS.getMode):
      (FS.joinPath):
      (FS.absolutePath):
      (FS.standardizePath):
      (FS.findObject):
      (FS.analyzePath):
      (FS.createFolder):
      (FS.createPath):
      (FS.createFile):
      (FS.createDataFile):
      (FS.createDevice):
      (FS.createLink):
      (FS.forceLoadFile):
      (FS.LazyUint8Array):
      (FS.LazyUint8Array.prototype.get if):
      (FS.LazyUint8Array.prototype):
      (FS.LazyUint8Array.prototype.setDataGetter):
      (FS.LazyUint8Array.prototype.cacheLength.doXHR):
      (FS.LazyUint8Array.prototype.cacheLength):
      (FS.get Object):
      (FS.get var):
      (FS.keys.forEach):
      (FS.processData.finish):
      (FS.processData):
      (FS.else):
      (FS.createPreloadedFile):
      (FS.createDefaultDirectories):
      (FS.createDefaultDevices.):
      (FS.createDefaultDevices):
      (FS.createStandardStreams):
      (FS.staticInit):
      (FS.init):
      (FS.quit):
      (FS.mount):
      (FS.lookup):
      (FS.mknod):
      (FS.create):
      (FS.mkdir):
      (FS.mkdev):
      (FS.symlink):
      (FS.rename):
      (FS.rmdir):
      (FS.readdir):
      (FS.unlink):
      (FS.readlink):
      (FS.stat):
      (FS.lstat):
      (FS.chmod):
      (FS.lchmod):
      (FS.fchmod):
      (FS.chown):
      (FS.lchown):
      (FS.fchown):
      (FS.truncate):
      (FS.ftruncate):
      (FS.utime):
      (FS.open):
      (FS.close):
      (FS.llseek):
      (FS.read):
      (FS.write):
      (FS.allocate):
      (FS.mmap):
      (_send):
      (_pwrite):
      (_write):
      (_fwrite):
      (__reallyNegative):
      (.getNextArg):
      (.switch.case.string_appeared_here.case.string_appeared_here.case.string_appeared_here.case.string_appeared_here.case.string_appeared_here.case.string_appeared_here.case.string_appeared_here.break):
      (.switch.case.string_appeared_here.case.string_appeared_here.case.string_appeared_here.case.string_appeared_here.case.string_appeared_here.case.string_appeared_here.break):
      (_fprintf):
      (_printf):
      (_abort):
      (___errno_location):
      (_sbrk.Runtime.dynamicAlloc):
      (_sbrk):
      (_sysconf):
      (_time):
      (Browser.mainLoop.pause):
      (Browser.mainLoop.resume):
      (Browser.mainLoop.updateStatus):
      (Browser.init.imagePlugin.string_appeared_here):
      (Browser.init.img.onload):
      (Browser.init.img.onerror):
      (Browser.init.audioPlugin.string_appeared_here):
      (Browser.init.finish):
      (Browser.init.fail):
      (Browser.init.audio.onerror.encode64):
      (Browser.init.audio.onerror):
      (Browser.init.audio):
      (Browser.init.else):
      (Browser.init.pointerLockChange):
      (Browser.init.canvas):
      (Browser.init):
      (Browser.destroyContext):
      (Browser.fullScreenChange):
      (Browser.requestFullScreen):
      (Browser.requestAnimationFrame):
      (Browser.safeRequestAnimationFrame):
      (Browser.safeSetTimeout):
      (Browser.safeSetInterval):
      (Browser.getMimetype):
      (Browser.getUserMedia):
      (Browser.getMovementX):
      (Browser.getMovementY):
      (Browser.calculateMouseEvent):
      (Browser.xhr.onload):
      (Browser.xhrLoad):
      (Browser.updateResizeListeners):
      (Browser.setCanvasSize):
      (Browser.setFullScreenCanvasSize):
      (Browser.setWindowedCanvasSize):
      (__ATINIT__.unshift):
      (__ATMAIN__.push):
      (__ATEXIT__.push):
      (Module.string_appeared_here):
      (invoke_ii):
      (invoke_v):
      (invoke_iii):
      (invoke_vi):
      (asmPrintInt):
      (asmPrintFloat):
      (asm):
      (Runtime.stackAlloc):
      (ExitStatus):
      (Module.string_appeared_here.Module.callMain.callMain.pad):
      (Module.string_appeared_here.Module.callMain):
      (run.doRun):
      (run.else):
      (run):
      (exit):
      (abort):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154376 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1fabb414
    • rniwa@webkit.org's avatar
      Mark fast/css/giant-stylesheet-crash.html as slow after r154246 · dc6b9938
      rniwa@webkit.org authored
      since allocating 2GB of RAM takes a long time sometimes.
      
      * TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154352 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dc6b9938
    • antti@apple.com's avatar
      <https://webkit.org/b/120023> REGRESSION(r154257): svg/custom/bug78807.svg and... · 3ae23fe9
      antti@apple.com authored
      <https://webkit.org/b/120023> REGRESSION(r154257): svg/custom/bug78807.svg and svg/custom/use-invalid-style.svg failing
      
      Source/WebCore: 
      
      Reviewed by Andreas Kling.
      
      * xml/XMLErrors.cpp:
      (WebCore::XMLErrors::insertErrorMessageBlock): "reattach" had accidentally turned into "detach" in refactoring.
      
      LayoutTests: 
      
      Reviewed by by Andreas Kling.
      
      * TestExpectations: Unskip.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154323 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3ae23fe9
  3. 19 Aug, 2013 1 commit
  4. 18 Aug, 2013 1 commit
  5. 15 Aug, 2013 2 commits
  6. 06 Aug, 2013 2 commits
    • hmuller@adobe.com's avatar
      [CSS Shapes] New positioning model: scripted shape-margin tests · 3f03bc1e
      hmuller@adobe.com authored
      https://bugs.webkit.org/show_bug.cgi?id=119491
      
      Update some of the shape-margin tests to work with the new positioning model. Floats
      that specify shape-outside are now positioned according to their margin box, not the
      bounding box of the shape-outside shape. The tests have been revised to reflect the
      change.
      
      Reviewed by Alexandru Chiculita.
      
      * TestExpectations:
      * fast/shapes/shape-outside-floats/shape-outside-floats-diamond-margin-polygon.html:
      * fast/shapes/shape-outside-floats/shape-outside-floats-ellipse-margin-bottom.html:
      * fast/shapes/shape-outside-floats/shape-outside-floats-ellipse-margin-left.html:
      * fast/shapes/shape-outside-floats/shape-outside-floats-ellipse-margin-right.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153769 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3f03bc1e
    • bjonesbe@adobe.com's avatar
      [CSS Shapes] New positioning model: support for shape-margin · 27e98464
      bjonesbe@adobe.com authored
      https://bugs.webkit.org/show_bug.cgi?id=118088
      
      Reviewed by Alexandru Chiculita.
      
      Update simple shape-margin tests to work with new positioning model.
      Also move them to the CSSWG's repo.
      
      * TestExpectations: Remove replaced tests.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-shape-margin-000-expected.html: Renamed from LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-left-margin-polygon-expected.html.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-shape-margin-000.html: Renamed from LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-left-margin-polygon.html.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-shape-margin-001-expected.html: Renamed from LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-right-margin-polygon-expected.html.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-shape-margin-001.html: Renamed from LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-right-margin-polygon.html.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153759 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      27e98464
  7. 02 Aug, 2013 1 commit
    • ch.dumez@sisa.samsung.com's avatar
      compareDocumentPosition() should report PRECEDING or FOLLOWING information... · 072d9592
      ch.dumez@sisa.samsung.com authored
      compareDocumentPosition() should report PRECEDING or FOLLOWING information even if nodes are disconnected
      https://bugs.webkit.org/show_bug.cgi?id=119316
      
      Reviewed by Ryosuke Niwa.
      
      Source/WebCore:
      
      As per the latest specification, compareDocumentPosition() should report PRECEDING or FOLLOWING
      information even if nodes are disconnected:
      - http://dom.spec.whatwg.org/#dom-node-comparedocumentposition
      
      This behavior is consistent with both IE10, Firefox 22 and since recently Blink.
      
      No new tests, covered by existing tests.
      
      * dom/Node.cpp:
      (WebCore::compareDetachedElementsPosition):
      (WebCore::Node::compareDocumentPosition):
      
      LayoutTests:
      
      Update fast/dom/compare-document-position-disconnected-nodes.html to check that compareDocumentPosition()
      now returns one of the following values for disconnected nodes:
      - DOCUMENT_POSITION_DISCONNECTED | DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC | DOCUMENT_POSITION_PRECEDING
      - DOCUMENT_POSITION_DISCONNECTED | DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC | DOCUMENT_POSITION_FOLLOWING
      
      Several dom/xhtml/level3 are skipped and marked as WonfFix because they are outdated and no longer match
      the DOM4 specification. They expect compareDocumentPosition() not to return PRECEDING / FOLLOWING
      information for disconnected nodes.
      
      * TestExpectations:
      * dom/xhtml/level3/core/nodecomparedocumentposition38-expected.txt:
      * fast/dom/compare-document-position-disconnected-nodes-expected.txt:
      * fast/dom/compare-document-position-disconnected-nodes.html:
      * fast/dom/shadow/compare-document-position-expected.txt:
      * fast/dom/shadow/compare-document-position.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153660 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      072d9592
  8. 01 Aug, 2013 1 commit
    • bjonesbe@adobe.com's avatar
      [CSS Shapes] New positioning model: support for stacked floats with shape-outside · fff000d3
      bjonesbe@adobe.com authored
      https://bugs.webkit.org/show_bug.cgi?id=118087
      
      Reviewed by Alexandru Chiculita.
      
      Import new test for stacked floats from the CSSWG's repository to
      replace the old tests. The simple horizontal rectangle test is no
      longer applicable now that float stacking ignores shapes, so it has
      just been removed.
      
      * TestExpectations: Remove skipping for replaced tests.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-stacked-000-expected.html: Added.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-stacked-000.html: Added.
      * fast/shapes/shape-outside-floats/shape-outside-floats-simple-rectangle-horizontal-multiple-expected.html: Removed.
      * fast/shapes/shape-outside-floats/shape-outside-floats-simple-rectangle-horizontal-multiple.html: Removed.
      * fast/shapes/shape-outside-floats/shape-outside-floats-stacked-expected.html: Removed.
      * fast/shapes/shape-outside-floats/shape-outside-floats-stacked.html: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153623 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fff000d3
  9. 31 Jul, 2013 2 commits
  10. 29 Jul, 2013 1 commit
    • commit-queue@webkit.org's avatar
      [CSS Shapes] New positioning model: update percentage rectangle and inset rectangle tests · 9d79bce4
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=118086
      
      Patch by Bem Jones-Bey <bjonesbe@adobe.com> on 2013-07-29
      Reviewed by Dirk Schulze.
      
      Update percentage based tests to work with the new positioning model.
      Also move the tests to be W3C spec tests, so they have been impored
      back here from the CSSWG repo.
      
      * TestExpectations: Remove skipping for replaced tests.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-003-expected.html: Added.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-003.html: Added.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-004-expected.html: Added.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-004.html: Added.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-inset-rectangle-002-expected.html: Added.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-inset-rectangle-002.html: Added.
      * csswg/submitted/shapes/shape-outside/w3c-import.log:
      * fast/shapes/shape-outside-floats/shape-outside-floats-simple-inset-rectangle-percentage-expected.html: Removed.
      * fast/shapes/shape-outside-floats/shape-outside-floats-simple-inset-rectangle-percentage.html: Removed.
      * fast/shapes/shape-outside-floats/shape-outside-floats-simple-rectangle-percentage-expected.html: Removed.
      * fast/shapes/shape-outside-floats/shape-outside-floats-simple-rectangle-percentage.html: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153437 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9d79bce4
  11. 26 Jul, 2013 1 commit
    • commit-queue@webkit.org's avatar
      [CSS Shapes] New positioning model: support for polygon shape-outside · 4fbe4b77
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=118085
      
      Patch by Bem Jones-Bey <bjonesbe@adobe.com> on 2013-07-26
      Reviewed by Dirk Schulze.
      
      Update polygon tests to work for new positioning model and migrate
      them to be W3C spec tests. Thus, they have been imported from the
      CSSWG repository now.
      
      * TestExpectations: Remove skip for replaced test.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-polygon-000-expected.html: Added.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-polygon-000.html: Added.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-polygon-001-expected.html: Added.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-polygon-001.html: Added.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-polygon-002-expected.html: Added.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-polygon-002.html: Added.
      * csswg/submitted/shapes/shape-outside/w3c-import.log:
      * fast/shapes/shape-outside-floats/shape-outside-floats-simple-polygon-expected.html: Removed.
      * fast/shapes/shape-outside-floats/shape-outside-floats-simple-polygon.html: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153386 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4fbe4b77
  12. 25 Jul, 2013 2 commits
    • commit-queue@webkit.org's avatar
      [CSS Shapes] New positioning model: support for inset rectangle shape-outside · 396507f5
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=118083
      
      Patch by Bem Jones-Bey <bjonesbe@adobe.com> on 2013-07-25
      Reviewed by Dirk Schulze.
      
      Update inset-rectangle tests to work with new positioning model.
      Removed some test cases that aren't really needed or aren't applicable
      with the new model. These test cases live in the CSS WG's repo now, so
      they've been imported here.
      
      * TestExpectations: Remove skip lines for replaced tests.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-inset-rectangle-000-expected.html: Added.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-inset-rectangle-000.html: Added.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-inset-rectangle-001-expected.html: Renamed from LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-simple-rounded-inset-rectangle-expected.html.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-inset-rectangle-001.html: Renamed from LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-simple-rounded-inset-rectangle.html.
      * csswg/submitted/shapes/shape-outside/w3c-import.log:
      * fast/shapes/shape-outside-floats/shape-outside-floats-simple-inset-rectangle-expected.html: Removed.
      * fast/shapes/shape-outside-floats/shape-outside-floats-simple-inset-rectangle.html: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153362 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      396507f5
    • commit-queue@webkit.org's avatar
      [CSS Shapes] New positioning model: support for circle and ellipse shape-outside · e9ad442d
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=118084
      
      Patch by Bem Jones-Bey <bjonesbe@adobe.com> on 2013-07-25
      Reviewed by Dirk Schulze.
      
      Update circle and ellipse tests to work with new positioning. These
      have been rehomed as W3C spec tests, and thus are imported from the
      CSSWG's repository.
      
      * TestExpectations: Remove skip for updated tests.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-circle-000-expected.html: Renamed from LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-simple-circle-expected.html.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-circle-000.html: Renamed from LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-simple-circle.html.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-ellipse-000-expected.html: Renamed from LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-simple-ellipse-expected.html.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-ellipse-000.html: Renamed from LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-simple-ellipse.html.
      * csswg/submitted/shapes/shape-outside/w3c-import.log:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153337 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e9ad442d
  13. 23 Jul, 2013 1 commit
    • commit-queue@webkit.org's avatar
      [CSS Shapes] New positioning model: support for rounded rectangle shape-outside · 85911986
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=118081
      
      Patch by Bem Jones-Bey <bjonesbe@adobe.com> on 2013-07-23
      Reviewed by Dean Jackson.
      
      Update the shape-outside rounded rectangle tests and import them from
      the CSS WG's repository. They have been moved to the CSS WG repository
      so they can be part of the spec test suite for CSS Shapes.
      
      * TestExpectations: Remove skipping for tests that have been replaced.
      * csswg/submitted/shapes/shape-outside/resources/rounded-rectangle.js: Added.
      (ellipseXIntercept):
      (scanConvertRoundedRectangleOutside):
      (genLeftRightRoundedRectFloatShapeOutsideRefTest):
      (genLeftRoundedRectFloatShapeOutsideRefTest):
      (genRightRoundedRectFloatShapeOutsideRefTest):
      * csswg/submitted/shapes/shape-outside/resources/subpixel-utils.js: Added.
      (SubPixelLayout):
      (SubPixelLayout.):
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-rounded-rectangle-001-expected.html: Renamed from LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-simple-rounded-rectangle-001-expected.html.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-rounded-rectangle-001.html: Renamed from LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-simple-rounded-rectangle-001.html.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-rounded-rectangle-002-expected.html: Renamed from LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-simple-rounded-rectangle-002-expected.html.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-rounded-rectangle-002.html: Renamed from LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-simple-rounded-rectangle-002.html.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-rounded-rectangle-003-expected.html: Renamed from LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-simple-rounded-rectangle-003-expected.html.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-rounded-rectangle-003.html: Renamed from LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-simple-rounded-rectangle-003.html.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-rounded-rectangle-004-expected.html: Added.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-rounded-rectangle-004.html: Added.
      * csswg/submitted/shapes/shape-outside/w3c-import.log:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153063 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      85911986
  14. 19 Jul, 2013 1 commit
  15. 17 Jul, 2013 1 commit
    • betravis@adobe.com's avatar
      [CSS Shapes][CSS Exclusions] Cleanup tests to reflect split between CSS Shapes and CSS Exclusions · 7d358b40
      betravis@adobe.com authored
      https://bugs.webkit.org/show_bug.cgi?id=117164
      
      Reviewed by Alexandru Chiculita.
      
      Moving shapes tests from the fast/exclusions directory to the new fast/shapes directory.
      In addition, some parsing tests which included both exclusions and shapes properties
      have been split in order for each piece of functionality to sit within its own directory.
      
      * fast/exclusions/parsing/script-tests/parsing-test-utils.js:
      * fast/shapes/css-shapes-disabled-expected.txt: Added.
      * fast/shapes/css-shapes-disabled.html: Added.
      * fast/shapes/css-shapes-enabled-expected.txt: Added.
      * fast/shapes/css-shapes-enabled.html: Added.
      * fast/shapes/parsing/parsing-shape-inside-expected.txt: Added.
      * fast/shapes/parsing/parsing-shape-inside.html: Added.
      * fast/shapes/parsing/parsing-shape-lengths-expected.txt: Added.
      * fast/shapes/parsing/parsing-shape-lengths.html: Added.
      * fast/shapes/parsing/parsing-shape-margin-expected.txt: Added.
      * fast/shapes/parsing/parsing-shape-margin.html: Added.
      * fast/shapes/parsing/parsing-shape-outside-expected.txt: Added.
      * fast/shapes/parsing/parsing-shape-outside.html: Added.
      * fast/shapes/parsing/parsing-shape-padding-expected.txt: Added.
      * fast/shapes/parsing/parsing-shape-padding.html: Added.
      * fast/shapes/parsing/script-tests/parsing-shape-inside.js: Added.
      * fast/shapes/parsing/script-tests/parsing-shape-lengths.js: Added.
      * fast/shapes/parsing/script-tests/parsing-shape-margin.js: Added.
      * fast/shapes/parsing/script-tests/parsing-shape-outside.js: Added.
      * fast/shapes/parsing/script-tests/parsing-shape-padding.js: Added.
      * fast/shapes/parsing/script-tests/parsing-test-utils.js: Added.
      * fast/shapes/resources/multi-segment-polygon.js: Added.
      * fast/shapes/resources/rounded-rectangle.js: Added.
      * fast/shapes/resources/simple-polygon.js: Added.
      * fast/shapes/resources/simple-rectangle.js: Added.
      * fast/shapes/resources/subpixel-utils.js: Added.
      * fast/shapes/shape-inside/shape-inside-animation-expected.txt: Added.
      * fast/shapes/shape-inside/shape-inside-animation.html: Added.
      * fast/shapes/shape-inside/shape-inside-bottom-edge-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-bottom-edge.html: Added.
      * fast/shapes/shape-inside/shape-inside-box-sizing-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-box-sizing.html: Added.
      * fast/shapes/shape-inside/shape-inside-circle-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-circle-padding-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-circle-padding.html: Added.
      * fast/shapes/shape-inside/shape-inside-circle.html: Added.
      * fast/shapes/shape-inside/shape-inside-coincident-vertices-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-coincident-vertices.html: Added.
      * fast/shapes/shape-inside/shape-inside-collinear-vertices-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-collinear-vertices.html: Added.
      * fast/shapes/shape-inside/shape-inside-counterclockwise-polygon-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-counterclockwise-polygon.html: Added.
      * fast/shapes/shape-inside/shape-inside-dynamic-nested-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-dynamic-nested.html: Added.
      * fast/shapes/shape-inside/shape-inside-dynamic-shape-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-dynamic-shape.html: Added.
      * fast/shapes/shape-inside/shape-inside-dynamic-text-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-dynamic-text.html: Added.
      * fast/shapes/shape-inside/shape-inside-ellipse-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-ellipse-padding-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-ellipse-padding.html: Added.
      * fast/shapes/shape-inside/shape-inside-ellipse.html: Added.
      * fast/shapes/shape-inside/shape-inside-empty-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-empty-segments-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-empty-segments.html: Added.
      * fast/shapes/shape-inside/shape-inside-empty.html: Added.
      * fast/shapes/shape-inside/shape-inside-first-fit-001-horizontal-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-first-fit-001-horizontal.html: Added.
      * fast/shapes/shape-inside/shape-inside-first-fit-001-vertical-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-first-fit-001-vertical.html: Added.
      * fast/shapes/shape-inside/shape-inside-first-fit-002-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-first-fit-002.html: Added.
      * fast/shapes/shape-inside/shape-inside-first-fit-003-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-first-fit-003.html: Added.
      * fast/shapes/shape-inside/shape-inside-first-fit-004-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-first-fit-004.html: Added.
      * fast/shapes/shape-inside/shape-inside-first-fit-reflex-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-first-fit-reflex.html: Added.
      * fast/shapes/shape-inside/shape-inside-floats-simple-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-floats-simple.html: Added.
      * fast/shapes/shape-inside/shape-inside-inline-elements-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-inline-elements.html: Added.
      * fast/shapes/shape-inside/shape-inside-multiple-blocks-dynamic-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-multiple-blocks-dynamic.html: Added.
      * fast/shapes/shape-inside/shape-inside-multiple-blocks-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-multiple-blocks-vertical-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-multiple-blocks-vertical.html: Added.
      * fast/shapes/shape-inside/shape-inside-multiple-blocks.html: Added.
      * fast/shapes/shape-inside/shape-inside-multiple-segments-001-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-multiple-segments-001.html: Added.
      * fast/shapes/shape-inside/shape-inside-multiple-segments-002-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-multiple-segments-002.html: Added.
      * fast/shapes/shape-inside/shape-inside-multiple-segments-003-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-multiple-segments-003.html: Added.
      * fast/shapes/shape-inside/shape-inside-multiple-segments-004-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-multiple-segments-004.html: Added.
      * fast/shapes/shape-inside/shape-inside-on-nested-container-with-unresolved-height-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-on-nested-container-with-unresolved-height.html: Added.
      * fast/shapes/shape-inside/shape-inside-outside-shape-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-outside-shape.html: Added.
      * fast/shapes/shape-inside/shape-inside-overflow-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-overflow-fixed-dimensions-block-content-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-overflow-fixed-dimensions-block-content.html: Added.
      * fast/shapes/shape-inside/shape-inside-overflow-fixed-dimensions-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-overflow-fixed-dimensions.html: Added.
      * fast/shapes/shape-inside/shape-inside-overflow.html: Added.
      * fast/shapes/shape-inside/shape-inside-partial-fill-001-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-partial-fill-001.html: Added.
      * fast/shapes/shape-inside/shape-inside-partial-fill-002-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-partial-fill-002.html: Added.
      * fast/shapes/shape-inside/shape-inside-percentage-auto-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-percentage-auto.html: Added.
      * fast/shapes/shape-inside/shape-inside-percentage-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-percentage.html: Added.
      * fast/shapes/shape-inside/shape-inside-polygon-layout-expected.txt: Added.
      * fast/shapes/shape-inside/shape-inside-polygon-layout.html: Added.
      * fast/shapes/shape-inside/shape-inside-polygon-padding-001-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-polygon-padding-001.html: Added.
      * fast/shapes/shape-inside/shape-inside-polygon-padding-002-expected.txt: Added.
      * fast/shapes/shape-inside/shape-inside-polygon-padding-002.html: Added.
      * fast/shapes/shape-inside/shape-inside-polygon-padding-003-expected.txt: Added.
      * fast/shapes/shape-inside/shape-inside-polygon-padding-003.html: Added.
      * fast/shapes/shape-inside/shape-inside-polygon-rectangle-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-polygon-rectangle.html: Added.
      * fast/shapes/shape-inside/shape-inside-polygon-zoom-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-polygon-zoom.html: Added.
      * fast/shapes/shape-inside/shape-inside-rectangle-padding-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-rectangle-padding.html: Added.
      * fast/shapes/shape-inside/shape-inside-rectilinear-polygon-001-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-rectilinear-polygon-001.html: Added.
      * fast/shapes/shape-inside/shape-inside-rectilinear-polygon-002-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-rectilinear-polygon-002.html: Added.
      * fast/shapes/shape-inside/shape-inside-rectilinear-polygon-003-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-rectilinear-polygon-003.html: Added.
      * fast/shapes/shape-inside/shape-inside-rectilinear-polygon-004-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-rectilinear-polygon-004.html: Added.
      * fast/shapes/shape-inside/shape-inside-recursive-layout-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-recursive-layout.html: Added.
      * fast/shapes/shape-inside/shape-inside-regular-polygon16-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-regular-polygon16.html: Added.
      * fast/shapes/shape-inside/shape-inside-regular-polygon8-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-regular-polygon8.html: Added.
      * fast/shapes/shape-inside/shape-inside-rounded-rectangle-001-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-rounded-rectangle-001.html: Added.
      * fast/shapes/shape-inside/shape-inside-rounded-rectangle-002-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-rounded-rectangle-002.html: Added.
      * fast/shapes/shape-inside/shape-inside-rounded-rectangle-003-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-rounded-rectangle-003.html: Added.
      * fast/shapes/shape-inside/shape-inside-rounded-rectangle-004-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-rounded-rectangle-004.html: Added.
      * fast/shapes/shape-inside/shape-inside-rounded-rectangle-fit-001-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-rounded-rectangle-fit-001.html: Added.
      * fast/shapes/shape-inside/shape-inside-rounded-rectangle-fit-002-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-rounded-rectangle-fit-002.html: Added.
      * fast/shapes/shape-inside/shape-inside-rounded-rectangle-fit-003-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-rounded-rectangle-fit-003.html: Added.
      * fast/shapes/shape-inside/shape-inside-rounded-rectangle-large-radius-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-rounded-rectangle-large-radius.html: Added.
      * fast/shapes/shape-inside/shape-inside-rounded-rectangle-padding-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-rounded-rectangle-padding.html: Added.
      * fast/shapes/shape-inside/shape-inside-shape-logical-top-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-shape-logical-top.html: Added.
      * fast/shapes/shape-inside/shape-inside-sibling-block-dimension-change-needs-relayout-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-sibling-block-dimension-change-needs-relayout.html: Added.
      * fast/shapes/shape-inside/shape-inside-simple-polygon-001-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-simple-polygon-001.html: Added.
      * fast/shapes/shape-inside/shape-inside-simple-polygon-002-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-simple-polygon-002.html: Added.
      * fast/shapes/shape-inside/shape-inside-simple-polygon-003-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-simple-polygon-003.html: Added.
      * fast/shapes/shape-inside/shape-inside-simple-polygon-004-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-simple-polygon-004.html: Added.
      * fast/shapes/shape-inside/shape-inside-subsequent-blocks-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-subsequent-blocks.html: Added.
      * fast/shapes/shape-inside/shape-inside-text-align-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-text-align.html: Added.
      * fast/shapes/shape-inside/shape-inside-text-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-text.html: Added.
      * fast/shapes/shape-inside/shape-inside-vertical-text-expected.html: Added.
      * fast/shapes/shape-inside/shape-inside-vertical-text.html: Added.
      * fast/shapes/shape-outside-floats/shape-outside-floats-diamond-margin-polygon-expected.txt: Added.
      * fast/shapes/shape-outside-floats/shape-outside-floats-diamond-margin-polygon.html: Added.
      * fast/shapes/shape-outside-floats/shape-outside-floats-ellipse-margin-bottom-expected.html: Added.
      * fast/shapes/shape-outside-floats/shape-outside-floats-ellipse-margin-bottom.html: Added.
      * fast/shapes/shape-outside-floats/shape-outside-floats-ellipse-margin-left-expected.txt: Added.
      * fast/shapes/shape-outside-floats/shape-outside-floats-ellipse-margin-left.html: Added.
      * fast/shapes/shape-outside-floats/shape-outside-floats-ellipse-margin-right-expected.txt: Added.
      * fast/shapes/shape-outside-floats/shape-outside-floats-ellipse-margin-right.html: Added.
      * fast/shapes/shape-outside-floats/shape-outside-floats-left-margin-polygon-expected.html: Added.
      * fast/shapes/shape-outside-floats/shape-outside-floats-left-margin-polygon.html: Added.
      * fast/shapes/shape-outside-floats/shape-outside-floats-right-margin-polygon-expected.html: Added.
      * fast/shapes/shape-outside-floats/shape-outside-floats-right-margin-polygon.html: Added.
      * fast/shapes/shape-outside-floats/shape-outside-floats-rounded-rectangle-large-radius-expected.html: Added.
      * fast/shapes/shape-outside-floats/shape-outside-floats-rounded-rectangle-large-radius.html: Added.
      * fast/shapes/shape-outside-floats/shape-outside-floats-simple-circle-expected.html: Added.
      * fast/shapes/shape-outside-floats/shape-outside-floats-simple-circle.html: Added.
      * fast/shapes/shape-outside-floats/shape-outside-floats-simple-ellipse-expected.html: Added.
      * fast/shapes/shape-outside-floats/shape-outside-floats-simple-ellipse.html: Added.
      * fast/shapes/shape-outside-floats/shape-outside-floats-simple-inset-rectangle-expected.html: Added.
      * fast/shapes/shape-outside-floats/shape-outside-floats-simple-inset-rectangle-percentage-expected.html: Added.
      * fast/shapes/shape-outside-floats/shape-outside-floats-simple-inset-rectangle-percentage.html: Added.
      * fast/shapes/shape-outside-floats/shape-outside-floats-simple-inset-rectangle.html: Added.
      * fast/shapes/shape-outside-floats/shape-outside-floats-simple-polygon-expected.html: Added.
      * fast/shapes/shape-outside-floats/shape-outside-floats-simple-polygon.html: Added.
      * fast/shapes/shape-outside-floats/shape-outside-floats-simple-rectangle-horizontal-multiple-expected.html: Added.
      * fast/shapes/shape-outside-floats/shape-outside-floats-simple-rectangle-horizontal-multiple.html: Added.
      * fast/shapes/shape-outside-floats/shape-outside-floats-simple-rectangle-percentage-expected.html: Added.
      * fast/shapes/shape-outside-floats/shape-outside-floats-simple-rectangle-percentage.html: Added.
      * fast/shapes/shape-outside-floats/shape-outside-floats-simple-rounded-inset-rectangle-expected.html: Added.
      * fast/shapes/shape-outside-floats/shape-outside-floats-simple-rounded-inset-rectangle.html: Added.
      * fast/shapes/shape-outside-floats/shape-outside-floats-simple-rounded-rectangle-001-expected.html: Added.
      * fast/shapes/shape-outside-floats/shape-outside-floats-simple-rounded-rectangle-001.html: Added.
      * fast/shapes/shape-outside-floats/shape-outside-floats-simple-rounded-rectangle-002-expected.html: Added.
      * fast/shapes/shape-outside-floats/shape-outside-floats-simple-rounded-rectangle-002.html: Added.
      * fast/shapes/shape-outside-floats/shape-outside-floats-simple-rounded-rectangle-003-expected.html: Added.
      * fast/shapes/shape-outside-floats/shape-outside-floats-simple-rounded-rectangle-003.html: Added.
      * fast/shapes/shape-outside-floats/shape-outside-floats-stacked-expected.html: Added.
      * fast/shapes/shape-outside-floats/shape-outside-floats-stacked.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152800 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7d358b40
  16. 02 Jul, 2013 2 commits
  17. 27 Jun, 2013 1 commit
    • commit-queue@webkit.org's avatar
      [CSS Shapes] New positioning model: basic support for rectangle shape-outside · 6362c309
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=118080
      
      Patch by Bem Jones-Bey <bjonesbe@adobe.com> on 2013-06-27
      Reviewed by David Hyatt.
      
      Source/WebCore:
      
      With the latest Editor's Draft of the CSS Shapes specification,
      shape-outside no longer affects the positioning of floats. This is the
      first step in changing the implementation to reflect this
      specification change. The bulk of this change is reverting the code
      that was needed to position floats based on the bounding box of the
      shape.
      
      Tests: csswg/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-000.html
             csswg/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-001.html
             csswg/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-002.html
             csswg/submitted/shapes/shape-outside/shape-outside-floats-square-000.html
             csswg/submitted/shapes/shape-outside/shape-outside-floats-vertical-rectangle-000.html
             csswg/submitted/shapes/shape-outside/shape-outside-floats-vertical-rectangle-001.html
             csswg/submitted/shapes/shape-outside/shape-outside-floats-vertical-rectangle-002.html
      
      * rendering/LayoutState.cpp:
      (WebCore::LayoutState::LayoutState): Revert changes to support float
          positioning from shape-outside.
      * rendering/RenderBlock.cpp:
      (WebCore::RenderBlock::blockSelectionGaps): Ditto.
      (WebCore::RenderBlock::insertFloatingObject): Ditto.
      (WebCore::RenderBlock::positionNewFloats): Ditto.
      (WebCore::RenderBlock::logicalLeftOffsetForLine): Instead of
          converting to shape bounding box coordinates, convert to the
          float's margin box coordinates.
      (WebCore::RenderBlock::logicalRightOffsetForLine): Ditto.
      (WebCore::positionForPointRespectingEditingBoundaries): Revert changes
          to support float positioning from shape-outside.
      * rendering/RenderBlock.h:
      (WebCore::RenderBlock::xPositionForFloatIncludingMargin): Ditto.
      (WebCore::RenderBlock::yPositionForFloatIncludingMargin): Ditto.
      * rendering/RenderBlockLineLayout.cpp:
      (WebCore::LineWidth::shrinkAvailableWidthForNewFloatIfNeeded): Instead
          of converting to shape bounding box coordinates, convert to the
          float's margin box coordinates.
      * rendering/RenderBox.cpp:
      (WebCore::RenderBox::mapLocalToContainer): Revert changes to support
          float positioning from shape-outside.
      (WebCore::RenderBox::offsetFromContainer): Ditto.
      (WebCore::RenderBox::computeRectForRepaint): Ditto.
      (WebCore::RenderBox::layoutOverflowRectForPropagation): Ditto.
      * rendering/RenderBoxModelObject.cpp: Ditto.
      * rendering/RenderBoxModelObject.h: Ditto.
      * rendering/RenderInline.cpp:
      (WebCore::RenderInline::clippedOverflowRectForRepaint): Ditto.
      (WebCore::RenderInline::computeRectForRepaint): Ditto.
      (WebCore::RenderInline::mapLocalToContainer): Ditto.
      * rendering/RenderLayer.cpp:
      (WebCore::RenderLayer::updateLayerPosition): Ditto.
      (WebCore::RenderLayer::calculateClipRects): Ditto.
      (WebCore::RenderLayer::shouldBeNormalFlowOnly): Ditto.
      * rendering/RenderLayer.h:
      (WebCore::RenderLayer::offsetForInFlowPosition): Ditto.
      * rendering/RenderObject.h: Ditto.
      * rendering/shapes/ShapeInfo.h: Make m_renderer protected, since we
          now need it in the subclass to compute the segments.
      * rendering/shapes/ShapeOutsideInfo.cpp:
      (WebCore::ShapeOutsideInfo::computeSegmentsForLine): Update segment
          computation to use the float's margin box instead of the shape's
          bounding box for computing the deltas.
      (WebCore::ShapeOutsideInfo::leftSegmentMarginBoxDelta): This used to
          be leftSegmentShapeBoundingBoxDelta, which has been renamed in the
          obvious way.
      (WebCore::ShapeOutsideInfo::rightSegmentMarginBoxDelta): This used to
          be rightSegmentShapeBoundingBoxDelta, which has been renamed in the
          obvious way.
      * rendering/shapes/ShapeOutsideInfo.h: Revert changes to support float
          positioning from shape-outside.
      * rendering/style/RenderStyle.h: Ditto.
      
      LayoutTests:
      
      Added new tests for the new model. These tests are also spec tests, so
      their canonical location is now in the CSS WG's repository. They have
      been imported to WebKit using the import-w3c-tests script, and that's
      why they live under the csswg directory.
      
      The new tests replace the shape-outside-floats-simple-rectangle.html
      test, which was anything but simple.
      
      Tests that have not been rewritten yet have been marked as skipped.
      Tests for the old positioning behavior that are not applicable to the
      new behavior have been deleted.
      
      * TestExpectations: Skip all the tests that need to be rewritten.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-000-expected.html: Added.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-000.html: Added.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-001-expected.html: Added.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-001.html: Added.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-002-expected.html: Added.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-002.html: Added.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-square-000-expected.html: Added.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-square-000.html: Added.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-vertical-rectangle-000-expected.html: Added.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-vertical-rectangle-000.html: Added.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-vertical-rectangle-001-expected.html: Added.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-vertical-rectangle-001.html: Added.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-vertical-rectangle-002-expected.html: Added.
      * csswg/submitted/shapes/shape-outside/shape-outside-floats-vertical-rectangle-002.html: Added.
      * csswg/submitted/shapes/shape-outside/w3c-import.log: Added.
      * fast/exclusions/shape-outside-floats/shape-outside-floats-margin-is-ignored-expected.html: Removed.
      * fast/exclusions/shape-outside-floats/shape-outside-floats-margin-is-ignored.html: Removed.
      * fast/exclusions/shape-outside-floats/shape-outside-floats-non-zero-y-expected.html: Removed.
      * fast/exclusions/shape-outside-floats/shape-outside-floats-non-zero-y.html: Removed.
      * fast/exclusions/shape-outside-floats/shape-outside-floats-overflow-hidden-expected.html: Removed.
      * fast/exclusions/shape-outside-floats/shape-outside-floats-overflow-hidden.html: Removed.
      * fast/exclusions/shape-outside-floats/shape-outside-floats-overhang-expected.html: Removed.
      * fast/exclusions/shape-outside-floats/shape-outside-floats-overhang.html: Removed.
      * fast/exclusions/shape-outside-floats/shape-outside-floats-positioning-expected.html: Removed.
      * fast/exclusions/shape-outside-floats/shape-outside-floats-positioning.html: Removed.
      * fast/exclusions/shape-outside-floats/shape-outside-floats-simple-rectangle-expected.html: Removed.
      * fast/exclusions/shape-outside-floats/shape-outside-floats-simple-rectangle.html: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152122 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6362c309
  18. 30 May, 2013 1 commit
  19. 28 May, 2013 2 commits
  20. 23 May, 2013 1 commit
  21. 20 May, 2013 1 commit
  22. 17 May, 2013 1 commit
  23. 08 May, 2013 2 commits
    • darin@apple.com's avatar
      REGRESSION(r149700): fast/css-generated-content/close-quote-negative-depth.html · 50056dc0
      darin@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115776
      
      Reviewed by Anders Carlsson.
      
      Source/WebCore:
      
      I changed depth to more closely match what is in the CSS3 specification.
      There may be a more optimal way to make it work, but this seems the most straightforward.
      
      * rendering/RenderQuote.cpp:
      (WebCore::RenderQuote::RenderQuote): Initialize m_depth to -1 because that depth
      is consistent with the empty string that is the initial value of the text. The
      real depth will be calculated when the node is attached.
      (WebCore::RenderQuote::originalText): Removed the "depth - 1" logic that
      used to be done for close quotes. Instead, the updateDepth function now correctly
      subtracts one for the close quote itself, not just afterward. Also added an early
      exit when the depth is negative; these changes together fix the bug.
      (WebCore::RenderQuote::attachQuote): Added a call to updateDepth even for the render
      quote head, we now need that to set the depth either to 0 or to -1.
      (WebCore::RenderQuote::detachQuote): Removed code to set m_depth to 0;  if we are not
      resetting the text then m_depth should be left matching the text, otherwise updateDepth
      might not do its job correctly if the quote is later re-attached. What matters is that
      m_depth and the text are in sync.
      (WebCore::RenderQuote::updateDepth): Changed updating logic in two ways. First,
      compute the depth in a local variable rather than computing it in a data member
      after first saving off the old value of the data member. That's clearer style.
      Second, add the code to change negative depths to zero when propagating to the
      next quote in the chain, which matches how the standard is written, and decrement
      the depth of the close quote itself, not the quote after the close quote.
      
      LayoutTests:
      
      * TestExpectations: Expect success again on this test.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149754 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      50056dc0
    • rniwa@webkit.org's avatar
      Add an image only failure expectation to... · b7d2b3ea
      rniwa@webkit.org authored
      Add an image only failure expectation to fast/css-generated-content/close-quote-negative-depth.html per
      bug 115776 after r149700. r149707 tried to fix its regression but this test is still failing.
      
      * TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149715 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b7d2b3ea
  24. 29 Apr, 2013 1 commit
  25. 28 Apr, 2013 1 commit
  26. 26 Apr, 2013 2 commits
  27. 27 Mar, 2013 1 commit
  28. 07 Mar, 2013 1 commit
    • vcarbune@chromium.org's avatar
      TextTrackRegion Constructor · e8ebf24e
      vcarbune@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=110511
      
      Reviewed by Adam Barth.
      
      Source/WebCore:
      
      This is an initial patch for implementing the TextTrackRegion
      defined in the "WebVTT Extension: Regions for rendering cue groups":
      https://dvcs.w3.org/hg/text-tracks/raw-file/default/608toVTT/region.html
      
      The feature components are hidden behind the WEBVTT_REGIONS flag
      and is currently disabled by default in all ports and tests skipped.
      
      Test: media/track/regions-webvtt/text-track-region-constructor.html
      
      * WebCore.gypi: Added files to be included for building Chromium with
      feature enabled (it is disabled by default).
      * html/track/TextTrackRegion.cpp: Added.
      (WebCore):
      (WebCore::TextTrackRegion::TextTrackRegion):
      (WebCore::TextTrackRegion::~TextTrackRegion):
      (WebCore::TextTrackRegion::setId): Setter.
      (WebCore::TextTrackRegion::setWidth): Setter.
      (WebCore::TextTrackRegion::setHeight): Setter.
      (WebCore::TextTrackRegion::setRegionAnchorX): Setter.
      (WebCore::TextTrackRegion::setRegionAnchorY): Setter.
      (WebCore::TextTrackRegion::setViewportAnchorX): Setter.
      (WebCore::TextTrackRegion::setViewportAnchorY): Setter.
      (WebCore::TextTrackRegion::scroll): Getter. Internally, the scroll
      value is stored as a boolean, but when returned is converted to either
      the empty string or "up".
      (WebCore::TextTrackRegion::setScroll): Setter.
      (WebCore::TextTrackRegion::setRegionSettings): Not used yet (see b/109818)
      * html/track/TextTrackRegion.h: Added.
      (WebCore):
      (TextTrackRegion):
      (WebCore::TextTrackRegion::create):
      (WebCore::TextTrackRegion::track): Getter.
      (WebCore::TextTrackRegion::id): Getter.
      (WebCore::TextTrackRegion::width): Getter.
      (WebCore::TextTrackRegion::height): Getter.
      (WebCore::TextTrackRegion::regionAnchorX): Getter.
      (WebCore::TextTrackRegion::regionAnchorY): Getter.
      (WebCore::TextTrackRegion::viewportAnchorX): Getter.
      (WebCore::TextTrackRegion::viewportAnchorY): Getter.
      (WebCore::TextTrackRegion::regionSettings): Getter, used only internally (see b/109818).
      * html/track/TextTrackRegion.idl: Added.
      * page/DOMWindow.idl: Constructor support.
      
      LayoutTests:
      
      * TestExpectations:
      * media/track/regions-webvtt/text-track-region-constructor-expected.txt: Added.
      * media/track/regions-webvtt/text-track-region-constructor.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145053 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e8ebf24e
  29. 01 Mar, 2013 1 commit
  30. 28 Feb, 2013 1 commit