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

CSS Box-sizing extension

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: trunk
    • Fix Version/s: None
    • Component/s: fo/block
    • Labels:
      None
    • Flags:
      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.patch
          22 kB
          Seifeddine Dridi
        2. block-container_fox-box-sizing_updated_testcases.patch
          22 kB
          Seifeddine Dridi

          Activity

            People

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

              Dates

              • Created:
                Updated: