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

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

wants to merge 10 commits into from

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
  2. 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
  3. net: Add geometry api to image cache

    Add api to create, update, delete geometry from ImageCache.
    stshine committed Sep 11, 2017
  4. script: Implement SVGGeometryElement

    Add SVGGeometryElement implementation.
    stshine committed Sep 11, 2017
  5. 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
  6. script: Implement SVGCircleElement

    Add basic support for <circle>, and create dom for it.
    stshine committed Sep 11, 2017
  7. layout: create layout objects for SVG items

    Currently, layout objects for an SVG are store in a vector.
    stshine committed Sep 11, 2017
  8. layout: generate geometries for SVG

    Add SvgDisplayItem to display list, and generate geometries for SVG.
    stshine committed Sep 11, 2017

Commits on Oct 6, 2017

  1. wip

    stshine committed Oct 6, 2017
You can’t perform that action at this time.