Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-2551

CSS Box-sizing extension

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.5
    • None
    • fo/block
    • None
    • Patch

    Description

      I implemented an extension (fox:box-sizing) which provides the same functionality as the CSS attribute box-sizing.

      Attribute box-sizing can take two values:

      • content-box: paddings and borders will enlarge the initial box' width and height (this is the default behavior).
      • border-box: the box' size is maintained even in the presence of paddings and borders.

      Currently fox:box-sizing can only be used with block-containers.

      Attachments

        1. block-container_fox-box-sizing_updated_testcases.patch
          22 kB
          Seifeddine Dridi
        2. block-container_fox-box-sizing.patch
          22 kB
          Seifeddine Dridi

        Activity

          People

            Unassigned Unassigned
            sdridi Seifeddine Dridi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: