diff --git a/package-lock.json b/package-lock.json index 92e1b2afa..87966c36f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,10 +5,10 @@ "requires": true, "packages": { "": { - "version": "1.1.0", + "version": "1.1.4", "license": "MIT", "dependencies": { - "css-line-break": "1.1.1" + "css-line-break": "2.0.0" }, "devDependencies": { "@babel/cli": "^7.4.3", @@ -8630,9 +8630,9 @@ } }, "node_modules/css-line-break": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/css-line-break/-/css-line-break-1.1.1.tgz", - "integrity": "sha512-1feNVaM4Fyzdj4mKPIQNL2n70MmuYzAXZ1aytlROFX1JsOo070OsugwGjj7nl6jnDJWHDM8zRZswkmeYVWZJQA==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/css-line-break/-/css-line-break-2.0.0.tgz", + "integrity": "sha512-zEKNpyrJHt4R3qAXLTdJkJc7F/4dkNWG+ij2CHF6/o346QJ6GSjD+oaKOUQoibOy0Wvl3F8IYdEEx3yb/+rdJw==", "dependencies": { "base64-arraybuffer": "^0.2.0" } @@ -32811,9 +32811,9 @@ } }, "css-line-break": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/css-line-break/-/css-line-break-1.1.1.tgz", - "integrity": "sha512-1feNVaM4Fyzdj4mKPIQNL2n70MmuYzAXZ1aytlROFX1JsOo070OsugwGjj7nl6jnDJWHDM8zRZswkmeYVWZJQA==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/css-line-break/-/css-line-break-2.0.0.tgz", + "integrity": "sha512-zEKNpyrJHt4R3qAXLTdJkJc7F/4dkNWG+ij2CHF6/o346QJ6GSjD+oaKOUQoibOy0Wvl3F8IYdEEx3yb/+rdJw==", "requires": { "base64-arraybuffer": "^0.2.0" } diff --git a/package.json b/package.json index 3dbd83bfd..35e45f532 100644 --- a/package.json +++ b/package.json @@ -118,6 +118,6 @@ "homepage": "https://html2canvas.hertzen.com", "license": "MIT", "dependencies": { - "css-line-break": "1.1.1" + "css-line-break": "2.0.0" } } diff --git a/tests/reftests/text/text.html b/tests/reftests/text/text.html index a6b163234..5970a9947 100644 --- a/tests/reftests/text/text.html +++ b/tests/reftests/text/text.html @@ -88,58 +88,66 @@

Verdana

  • text-decoration:overline;
  • text-decoration:line-through;
  • +
      +
    1. text-decoration:none;
    2. +
    3. text-decoration:underline;
    4. +
    5. text-decoration:overline;
    6. +
    7. text-decoration:line-through;
    8. +
    +
      +
    1. text-decoration:none;
    2. +
    3. text-decoration:underline;
    4. +
    5. text-decoration:overline;
    6. +
    7. text-decoration:line-through;
    8. +
    + +
    +

    Tahoma

    +
      +
    1. text-decoration:none;
    2. +
    3. text-decoration:underline;
    4. +
    5. text-decoration:overline;
    6. +
    7. text-decoration:line-through;
    8. +
    + +
      +
    1. text-decoration:none;
    2. +
    3. text-decoration:underline;
    4. +
    5. text-decoration:overline;
    6. +
    7. text-decoration:line-through;
    8. +
    +
      +
    1. text-decoration:none;
    2. +
    3. text-decoration:underline;
    4. +
    5. text-decoration:overline;
    6. +
    7. text-decoration:line-through;
    8. +
    +
    -
    - [AB / CD] -
    - -
    -

    Tahoma

    -
      -
    1. text-decoration:none;
    2. -
    3. text-decoration:underline;
    4. -
    5. text-decoration:overline;
    6. -
    7. text-decoration:line-through;
    8. -
    - -
      -
    1. text-decoration:none;
    2. -
    3. text-decoration:underline;
    4. -
    5. text-decoration:overline;
    6. -
    7. text-decoration:line-through;
    8. -
    -
      -
    1. text-decoration:none;
    2. -
    3. text-decoration:underline;
    4. -
    5. text-decoration:overline;
    6. -
    7. text-decoration:line-through;
    8. -
    -
    - -

    <h2> text-transform

    - -

    <h3> misc text alignments

    - - -
    npm install --save html2canvas
    -
    - [AB / CD] -
    +

    <h2> text-transform

    + +

    <h3> misc text alignments

    + + +
    npm install --save html2canvas
    +
    + [AB / CD]
    +
    Emojis 🤷🏾‍♂️👨‍👩‍👧‍👦 :)