Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] svg: support <circle> element #17681

Closed
wants to merge 10 commits into from
Closed

Commits on Sep 11, 2017

  1. style: Supoort "fill", "x", "y", and "r" svg properties

    Implement "fill", "x", "y", and "r" svg properties in servo.
    stshine committed Sep 11, 2017
    Configuration menu
    Copy the full SHA
    61067f4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cee18c1 View commit details
    Browse the repository at this point in the history
  3. script: Add a PropertyDeclarationBlock field to SVGElement

    Add a PropertyDeclarationBlock to SVGElement to parse and store SVG
    presentation attributes.
    
    For now, parse and store attributes if the attribute name is "fill".
    stshine committed Sep 11, 2017
    Configuration menu
    Copy the full SHA
    a973309 View commit details
    Browse the repository at this point in the history
  4. net: Add geometry api to image cache

    Add api to create, update, delete geometry from ImageCache.
    stshine committed Sep 11, 2017
    Configuration menu
    Copy the full SHA
    8d19783 View commit details
    Browse the repository at this point in the history
  5. script: Implement SVGGeometryElement

    Add SVGGeometryElement implementation.
    stshine committed Sep 11, 2017
    Configuration menu
    Copy the full SHA
    cbeef7d View commit details
    Browse the repository at this point in the history
  6. script: Ensure a geometry key for an <svg> element in html tree

    Add a geometry key field to the SVGSVGElement, When the <svg> element
    is bind to a parent html element, ensure it contains one, and delete
    it when the element is unbind.
    
    Also, pass the svg data to layout when the key is present.
    stshine committed Sep 11, 2017
    Configuration menu
    Copy the full SHA
    3cce825 View commit details
    Browse the repository at this point in the history
  7. script: Implement SVGCircleElement

    Add basic support for <circle>, and create dom for it.
    stshine committed Sep 11, 2017
    Configuration menu
    Copy the full SHA
    75f00ca View commit details
    Browse the repository at this point in the history
  8. layout: create layout objects for SVG items

    Currently, layout objects for an SVG are store in a vector.
    stshine committed Sep 11, 2017
    Configuration menu
    Copy the full SHA
    f1a0003 View commit details
    Browse the repository at this point in the history
  9. layout: generate geometries for SVG

    Add SvgDisplayItem to display list, and generate geometries for SVG.
    stshine committed Sep 11, 2017
    Configuration menu
    Copy the full SHA
    516cffa View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2017

  1. wip

    stshine committed Oct 6, 2017
    Configuration menu
    Copy the full SHA
    c8a4f0a View commit details
    Browse the repository at this point in the history