- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIssue952Test.php
More file actions
31 lines (25 loc) · 576 Bytes
/
Issue952Test.php
File metadata and controls
31 lines (25 loc) · 576 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
namespace Issues;
use Mpdf\Output\Destination;
class Issue952Test extends \Mpdf\BaseMpdfTest
{
public function testBoxShadow()
{
$this->mpdf->WriteHTML('<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Test title</title>
</head>
<body>
<div class="#content">
<div style="box-shadow: 1px 1px 1px #0000ff;">
<div style="box-shadow: 1px 1px 1px #0000ff;">Question text 2</div>
</div>
</div>
</body>
</html>');
$output = $this->mpdf->Output('', Destination::STRING_RETURN);
$this->assertStringStartsWith('%PDF-', $output);
}
}